Skip to main content

Module errors

Module errors 

Source
Expand description

Error class enum and the registry of canonical error codes.

The wire-serialisable ErrorObject lives in the gbp crate (base layer). Only the classification and the code constants live here so that any layer can refer to them without taking a serde dependency.

Modules§

codes
All canonical error codes.

Structs§

ErrorSpec
Compile-time descriptor: code plus its retryable / fatal semantics.

Enums§

ErrorClass
Coarse classification of an error. Single byte on the wire.