chainerrors_core/lib.rs
1//! chainerrors-core — foundation types and traits for the ChainErrors library.
2//!
3//! This crate defines:
4//! - [`ErrorKind`] — the taxonomy of EVM error types
5//! - [`DecodedError`] — the output of a successful decode
6//! - [`ErrorContext`] — chain/tx metadata for a failed call
7//! - [`ErrorDecoder`] — the decoder trait every chain implements
8//! - [`ErrorSignatureRegistry`] — the trait for looking up error signatures
9
10pub mod decoder;
11pub mod registry;
12pub mod types;
13
14pub use decoder::ErrorDecoder;
15pub use registry::{ErrorSignature, ErrorSignatureRegistry};
16pub use types::{DecodedError, ErrorContext, ErrorKind, Severity};