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
I somehow miss information on the actual error in the error-handler of websockets. We have a string reason in the close-handler, but other than "some error happened" we get nothing in the error-handler. Maybe a string as well? For boost::system::error_code, we could use ec.message(). Other errors could just give some hardcoded string. Or probably some enum, which error-handlers could switch on? A combination (struct)? Opinions?
The text was updated successfully, but these errors were encountered:
I somehow miss information on the actual error in the error-handler of websockets. We have a string reason in the close-handler, but other than "some error happened" we get nothing in the error-handler. Maybe a string as well? For boost::system::error_code, we could use
ec.message()
. Other errors could just give some hardcoded string. Or probably some enum, which error-handlers could switch on? A combination (struct)? Opinions?The text was updated successfully, but these errors were encountered: