Expand description
The single error type returned by every fallible SDK operation.
The Python SDK models failures as an exception hierarchy. Rust has no inheritance, so the
hierarchy collapses into one enum and the isinstance checks become the predicates on
Error (Error::is_server_error, Error::status, Error::code, …).
Modules§
- codes
- Server error codes the SDK reacts to. Any other code is carried through as a string.
Enums§
- Error
- Everything that can go wrong talking to a SIE server.
- Model
Load Error Class - Why a model failed to load, as classified by the server.
- Transport
Error Kind - How a transport-level failure occurred, which decides whether it may be retried.
Type Aliases§
- Result
- Result alias used throughout the crate.