Skip to main content

Crate chainerrors_core

Crate chainerrors_core 

Source
Expand description

chainerrors-core — foundation types and traits for the ChainErrors library.

This crate defines:

Re-exports§

pub use decoder::ErrorDecoder;
pub use registry::ErrorSignature;
pub use registry::ErrorSignatureRegistry;
pub use types::DecodedError;
pub use types::ErrorContext;
pub use types::ErrorKind;
pub use types::Severity;

Modules§

decoder
The ErrorDecoder trait — implemented by each chain-specific crate.
registry
Error signature registry — maps 4-byte selectors to known error ABIs.
types
Core types for the ChainErrors error taxonomy.