mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-30 09:38:24 -05:00
* feat(provider): Add StorageProvider impl, table changes * unwind header numbers by walker (#174) * readme, fmt * fix tests * Update crates/interfaces/src/provider/db_provider/storage.rs Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com> * Update crates/interfaces/src/provider/db_provider/storage.rs Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com> Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
20 lines
539 B
Rust
20 lines
539 B
Rust
/// Result alias for `Error`
|
|
pub type Result<T> = std::result::Result<T, Error>;
|
|
|
|
/// Core error variants possible when interacting with the blockchain
|
|
#[derive(Debug, thiserror::Error, Clone, PartialEq, Eq)]
|
|
#[allow(missing_docs)]
|
|
pub enum Error {
|
|
#[error(transparent)]
|
|
Execution(#[from] crate::executor::Error),
|
|
|
|
#[error(transparent)]
|
|
Consensus(#[from] crate::consensus::Error),
|
|
|
|
#[error(transparent)]
|
|
Database(#[from] crate::db::Error),
|
|
|
|
#[error(transparent)]
|
|
Provider(#[from] crate::provider::Error),
|
|
}
|