pop_fork/error/mod.rs
1// SPDX-License-Identifier: GPL-3.0
2
3//! Error types for fork operations.
4//!
5//! This module contains all error types used throughout the `pop-fork` crate,
6//! organized by context:
7//!
8//! - [`block::BlockError`] - Errors from block operations.
9//! - [`builder::BlockBuilderError`] - Errors from block builder operations.
10//! - [`block::BlockError`] - Errors from block operations.
11//! - [`cache::CacheError`] - Errors from SQLite storage cache operations.
12//! - [`executor::ExecutorError`] - Errors from runtime executor operations.
13//! - [`local::LocalStorageError`] - Errors from local storage layer operations.
14//! - [`remote::RemoteStorageError`] - Errors from remote storage layer operations.
15//! - [`rpc::RpcClientError`] - Errors from RPC client operations.
16
17/// Errors from block operations.
18pub mod block;
19pub mod builder;
20pub mod cache;
21pub mod executor;
22pub mod local;
23pub mod remote;
24pub mod rpc;
25pub mod txpool;
26
27pub use block::BlockError;
28pub use builder::BlockBuilderError;
29pub use cache::CacheError;
30pub use executor::ExecutorError;
31pub use local::LocalStorageError;
32pub use remote::RemoteStorageError;
33pub use rpc::RpcClientError;
34pub use txpool::TxPoolError;