Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is any possibilities to return an error ? #46

Open
Gwe2B opened this issue Jun 9, 2023 · 0 comments
Open

There is any possibilities to return an error ? #46

Gwe2B opened this issue Jun 9, 2023 · 0 comments

Comments

@Gwe2B
Copy link

Gwe2B commented Jun 9, 2023

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant