You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to use a class based namespace and would like to have my error handler in that class, I have a function named on_error(self, e) as well as trying on_error_default(self, e) but neither seem to work, is there any way to have the error handler in the class?
The text was updated successfully, but these errors were encountered:
Errors are not dispatched to class based namespaces at this time. You can workaround this limitation by creating an error handler that invokes the on_error() method in your namespace.
@codyleyhan@miguelgrinberg any updates on this issue since #834 was closed last summer? I'm attempting to implement error handling in the on_connect of a custom namespace and think I'm running into this issue.
Hello, I am trying to use a class based namespace and would like to have my error handler in that class, I have a function named
on_error(self, e)
as well as tryingon_error_default(self, e)
but neither seem to work, is there any way to have the error handler in the class?The text was updated successfully, but these errors were encountered: