abhijeetbhagat / genmei

A SignalR client library implemented in Rust. WIP
7 stars 0 forks source link

Handle errors coming from the server #2

Open abhijeetbhagat opened 6 years ago

abhijeetbhagat commented 6 years ago

Create an error handler on the connection object:

connection.error_handler (|e| { println! ("{}", e.message); });