We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How to get error code while getting the error from the socket connection in onerror()?
The text was updated successfully, but these errors were encountered:
Hey, sorry for the delay – I was traveling~
The Sockette event listeners directly receive the native Events and Errors arguments. You should check ev.code – if anything is there at all.
ev.code
You may want an additional listener on onclose too, since a code (numerical) will always exist there.
onclose
code
Hope that helps!
Sorry, something went wrong.
No branches or pull requests
How to get error code while getting the error from the socket connection in onerror()?
The text was updated successfully, but these errors were encountered: