Expand description
Error types for each architectural layer.
Errors are split by layer so callers can match on the granularity they need:
CodecError— JSON serialization / deserialization failures.ConnectError— WebSocket connection establishment failures.SendError/RecvError— frame-level I/O on an established connection.SessionError— high-level session lifecycle errors (setup, reconnect, etc.).
Structs§
- Bearer
Token Error - Failure while obtaining an OAuth bearer token for a WebSocket handshake.
Enums§
- Codec
Error - Failure during JSON ↔ Rust conversion.
- Connect
Error - Failure while establishing a WebSocket connection.
- Recv
Error - Failure while receiving a WebSocket frame.
- Send
Error - Failure while sending a WebSocket frame.
- Session
Error - High-level session error covering setup, runtime, and reconnection.