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
Hm, while we can add some error handling, the way the error is handled depends on a use case. We tried to document what each error means. Should we probably extend our documentation, so that it's clear what each error means?
Do you find the error description for one or another error type confusing? If so, would you please point to them, so that we can clarify them?
daniel-abramov
changed the title
show error handling in client example
Handling of different types of errors on a client side
May 19, 2020
No it's not necessarily about what errors crop up, but how to handle them in the first place. In the example directory there are a bunch of different use cases (client/server) and it would be awesome to show how to handle errors there for those specific use cases instead of calling unwrap. Does that make sense?
Right now there is a lot of
unwrap
in the client example. It would be nice to show how to handle differenttungstenite::Error
s that can crop up.edit: i'm trying to do this myself
The text was updated successfully, but these errors were encountered: