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

Graceful handling of parse errors #19

Closed
aslakhellesoy opened this issue Jan 25, 2013 · 0 comments
Closed

Graceful handling of parse errors #19

aslakhellesoy opened this issue Jan 25, 2013 · 0 comments

Comments

@aslakhellesoy
Copy link
Contributor

If a server sends data that can't be parsed, the parser throws an Error that isn't caught. It should be caught and the onerror event handler should be fired. This is related to #18, but even if that is fixed we still need to handle parse errors since there is no guarantee that a server will send valid data.

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