Skip to main content

Module error

Module error 

Source
Expand description

Canonical, language-neutral error taxonomy for the Sail core.

This enum is the contract every binding maps onto its own error type: the Python SDK to its sail.errors classes, the native CLI to its exit handling, a future TS SDK to its Error subclasses. The Display impl is for Rust consumers and logs only. Error message text is NOT a cross-language contract, so bindings are free to format their own user-facing messages from the structured fields.

Enums§

GrpcCode
gRPC status code, decoupled from any one client library’s spelling.
SailError
The canonical Sail error. Variants carry structured fields so bindings can populate their own exception attributes without parsing strings.
TransportKind
How a transport attempt failed, independent of any language’s exception names. Bindings map these onto their own transport-error types.