simplify-scorm
simplify-scorm copied to clipboard
There is any possibilities to return an error ?
Hi,
I am writting a simplified version of an LMS and I want to store the data send to the commit in a database. But in case there is an error I need to say it to the player/document/SCO (whatever you call it) and I have been searching through the source code without finding anything to do this because the callback function (in the processListeners
function) return value is completely ignored and because of this if I try to raise an error through the throw new Exception
or the throwSCORMError
it will be ignored as well.
Any way to do it without touching the source code ?