Expand description
Error types and the diagnostic-report pipeline.
The framework follows the thiserror + miette pattern:
- Library-level crates define typed errors with
#[derive(thiserror::Error, miette::Diagnostic)]. - At the process boundary (
fn main() -> miette::Result<()>), errors are rendered by amiettehook installed viahook. - There is no
ErrorHandlertrait or.check()funnel — errors are values, propagated with?, and reported once at the edge.
See docs/development/specs/2026-04-22-rtb-error-v0.1.md for the
authoritative contract.
Modules§
- hook
- Hook installation helpers.
Structs§
- Report
- Core Diagnostic wrapper type.
Enums§
- Error
- Umbrella error enum for the framework.
Traits§
- Diagnostic
- Adds rich metadata to your Error that can be used by
Reportto print really nice and human-friendly error messages.
Type Aliases§
- Result
- Canonical framework result alias.