reth_errors/
lib.rs

1//! High level error types for the reth in general.
2//!
3//! ## Feature Flags
4//!
5//! - `test-utils`: Export utilities for testing
6
7#![doc(
8    html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
9    html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
10    issue_tracker_base_url = "https://github.com/SeismicSystems/seismic-reth/issues/"
11)]
12#![cfg_attr(not(test), warn(unused_crate_dependencies))]
13#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
14
15mod error;
16pub use error::{RethError, RethResult};
17
18pub use reth_blockchain_tree_api::error::{BlockchainTreeError, CanonicalError};
19pub use reth_consensus::ConsensusError;
20pub use reth_execution_errors::{BlockExecutionError, BlockValidationError};
21pub use reth_storage_errors::{
22    db::DatabaseError,
23    provider::{ProviderError, ProviderResult},
24};