Skip to main content

dag_executor/error/
mod.rs

1//! Error types used throughout the crate.
2//!
3//! Every layer has a dedicated error enum ([`TaskError`], [`StorageError`],
4//! [`ValidationError`]) which all flatten into the top-level
5//! [`DagExecutorError`]. Source chains are preserved via `#[from]` so callers
6//! can use `?` freely and still inspect root causes.
7
8mod types;
9
10pub use types::{DagExecutorError, Result, StorageError, TaskError, ValidationError};