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
In the case that a request fails because of perhaps invalid request params or room does not exist or whatever, we should have an event sent to the client detailing the exception.
event 'event_error'
{
msg : "some message to tell what went wrong"
}
This is important because it is quite annoying to debug by using print statements! If something goes wrong, we need to tell the client that something has went wrong so that a message can be displayed or something. Whenever a non-custom exception is encountered, it probably should just send back a default message, but if a custom exception is triggered, we should send back some custom message probably.
The text was updated successfully, but these errors were encountered:
In the case that a request fails because of perhaps invalid request params or room does not exist or whatever, we should have an event sent to the client detailing the exception.
This is important because it is quite annoying to debug by using print statements! If something goes wrong, we need to tell the client that something has went wrong so that a message can be displayed or something. Whenever a non-custom exception is encountered, it probably should just send back a default message, but if a custom exception is triggered, we should send back some custom message probably.
The text was updated successfully, but these errors were encountered: