arb_errors/lib.rs
1//! Top-level error types for arbreth.
2//!
3//! Thin umbrella over the leaf-level error crates (currently
4//! `arb-storage-errors`), mirroring `reth-errors`. Downstream crates that
5//! cross multiple subsystem boundaries depend on this crate and convert
6//! into [`ArbError`] via `?`, instead of being generic over every leaf
7//! error type.
8
9#![cfg_attr(not(test), warn(unused_crate_dependencies))]
10#![cfg_attr(not(feature = "std"), no_std)]
11
12extern crate alloc;
13
14mod error;
15pub use arb_storage_errors::{DatabaseError, DatabaseErrorInfo, StorageError};
16pub use error::{ArbError, ArbResult};