Skip to main content

Module error

Module error 

Source
Expand description

Unified error type returned across the SDK.

Each protocol crate wraps its own internal error in the matching variant of IotError via From impls — those impls are gated by workspace features so the umbrella crate only compiles in the variants the user actually opted into.

The transport-layer and codec-layer errors are protocol-agnostic and so they live here unconditionally.

Enums§

CodecError
Errors raised by protocol codecs (encode / decode of a frame).
IotError
Top-level error every public API in the SDK returns.
TransportError
Errors raised by transports (connect / read / write / close).

Type Aliases§

IotResult
Convenience alias for SDK results.