rtb-error
Part of the phpboyscout Rust toolkit — small, framework-free crates extracted from rust-tool-base.
Error types and the diagnostic report pipeline: the canonical Error
enum, the Result<T, E = Error> alias, and the process-edge miette
hook pipeline (report handler, panic hook, mutable footer). Errors are
values — propagated with ?, rendered once at main().
async
- Docs: https://error.rust.phpboyscout.uk
- API reference: https://docs.rs/rtb-error
- Crate: https://crates.io/crates/rtb-error
Development
just ci runs the full local gate (fmt, clippy, nextest, doc, deny).
Tests include a cucumber BDD suite (tests/bdd.rs) and trybuild
compile-fail fixtures (tests/trybuild.rs) — run them with
cargo nextest run; the global-hook tests need nextest's
process-per-test isolation. Releases are cut by release-plz from
Conventional Commits — do not tag manually.
License
MIT