Module registry

Source

Structs§

CodedError
An error with an associated error code
ErrorCodeInfo
Metadata for a registered error code
ErrorRegistry
A central registry for error codes and metadata

Traits§

WithErrorCode
Extension trait for adding error codes

Functions§

register_error_code
Register an error code in the global registry