Skip to main content

Module errors

Module errors 

Source
Expand description

Error taxonomy for donglora-client.

Mirrors the Python client’s DongloraError hierarchy: one base error with specific variants for each spec-defined failure mode plus a handful of transport-level conditions. Callers who just want to surface failures match on the top-level ClientError; code that needs to retry on a specific kind (e.g. ChannelBusy) pattern-matches that variant.

Enums§

ClientError
Every fallible operation in donglora-client returns this error type. Variants mirror PROTOCOL.md §7 plus Rust-side conditions (timeouts, closed transports, bad frames).

Type Aliases§

ClientResult
Short alias for the crate’s Result type.