Skip to main content

dpp_domain/error/
mod.rs

1//! The crate-wide error surface.
2//!
3//! [`DppError`] is the one error every fallible entry point returns. It sits at
4//! the level of the deepest thing it wraps — a lens error from
5//! [`crate::schemas`] — which is why it is *not* the same module as
6//! [`crate::field_error`], the per-field detail it carries. Holding both here
7//! made this module simultaneously above and below `schemas`, and that cycle
8//! was invisible to a check that only looked at direction.
9
10pub mod dpp;
11#[cfg(test)]
12mod tests;
13
14pub use dpp::DppError;