Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx

Co-authored-by: Reuben Turner <[email protected]>
This commit is contained in:
Deven Joshi
2021-07-16 20:41:49 +05:30
committed by GitHub
co-authored by Reuben Turner
parent ac27b9bc2b
commit 00b1f21c63
@@ -260,7 +260,7 @@ and the other to disconnect the user. This allows more fine-grained control of d
* `client.closeConnection()` -> for closing user websocket connection.
* `client.disconnectUser()` -> for disconnecting user and resetting client state.
3) We refactored how we handle errors - new error types are now introduced instead of ApiError.
3) We refactored how we handle errors - new error types are now introduced that replace ApiError.
* `StreamChatError` -> parent type for all the stream errors.
* `StreamWebSocketError` -> for user websocket related errors.