simplify-scorm icon indicating copy to clipboard operation
simplify-scorm copied to clipboard

There is any possibilities to return an error ?

Open Gwe2B opened this issue 1 year ago • 0 comments

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 ?

Gwe2B avatar Jun 09 '23 09:06 Gwe2B