Skip to main content

Module error

Module error 

Source
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§

BearerTokenError
Failure while obtaining an OAuth bearer token for a WebSocket handshake.

Enums§

CodecError
Failure during JSON ↔ Rust conversion.
ConnectError
Failure while establishing a WebSocket connection.
RecvError
Failure while receiving a WebSocket frame.
SendError
Failure while sending a WebSocket frame.
SessionError
High-level session error covering setup, runtime, and reconnection.