Skip to main content

bb_runtime/errors/
mod.rs

1//! Public error taxonomies surfaced by the user-facing API.
2//!
3//! Four error families ship here, each tied to a specific
4//! `Node`-lifecycle step:
5//!
6//! - [`DeliveryError`] — host-facing `Node::deliver_*` /
7//!   `Node::invoke` failures.
8//! - [`RestoreError`] — `Node::restore` snapshot reconciliation
9//!   failures.
10//! - [`SnapshotError`] — `Node::snapshot` failures.
11//! - [`BootstrapError`] — `Node::run_bootstrap` input staging +
12//!   target selection failures per the host-driven bootstrap
13//!   redesign.
14//!
15//! `Module::build` failures live in `bb_dsl::BuildError`; compiler
16//! failures live in `bb_compiler::CompileError`; installation
17//! failures live in `bytesandbrains::InstallError`. All three
18//! surface upstream of the engine and outside `bb-runtime`'s dep
19//! graph.
20
21pub mod bootstrap;
22pub mod delivery;
23pub mod restore;
24pub mod snapshot;
25
26pub use bootstrap::BootstrapError;
27pub use delivery::DeliveryError;
28pub use restore::RestoreError;
29pub use snapshot::SnapshotError;