reth_errors/
lib.rs

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