mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-17 02:12:02 -05:00
22 lines
513 B
Rust
22 lines
513 B
Rust
use reth_db::DatabaseError;
|
|
use reth_provider::ProviderError;
|
|
use thiserror::Error;
|
|
|
|
#[derive(Error, Debug)]
|
|
pub enum PrunerError {
|
|
#[error(transparent)]
|
|
PrunePart(#[from] reth_primitives::PrunePartError),
|
|
|
|
#[error("Inconsistent data: {0}")]
|
|
InconsistentData(&'static str),
|
|
|
|
#[error("An interface error occurred.")]
|
|
Interface(#[from] reth_interfaces::Error),
|
|
|
|
#[error(transparent)]
|
|
Database(#[from] DatabaseError),
|
|
|
|
#[error(transparent)]
|
|
Provider(#[from] ProviderError),
|
|
}
|