Skip to main content

Module errors

Module errors 

Source
Expand description

Client-facing error types.

Structs§

ConnectionError
WebSocket connection failure.
DaemonError
Error reported by the daemon (protocol-1 structured error object).
HeartbeatError
Heartbeat tracking failure (daemon not alive within timeout).
ReconnectError
Bounded reconnect attempts exhausted.
StaleLoopError
Loop accepted reattach but failed the loop_get liveness probe.
TimeoutError
Timeout waiting for a daemon response.

Enums§

DisconnectCause
Distinguishes clean vs unclean connection loss.
Error
Unified client error.

Functions§

disconnect_cause_name
Human-readable cause name for logging.

Type Aliases§

Result
Result alias for this crate.