Registry / utility / error-stack

error-stack

JSON →
library0.7.0rscratesunverified

A context-aware error-handling library that supports arbitrary attached user data.

# Cargo.toml [dependencies] error-stack = "0.7.0"
INSTALL
IMPORT
SIG · ERROR-STACK
E
error-stack
utilityrustv0.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Report
✓ use error_stack::Report;

Create and return an error report.

use error_stack::Report; fn main() -> Result<(), Report<&'static str>> { Err(Report::new("something went wrong")) }
Debug
Known issues
gotchaRequires nightly Rust for full feature set.
fix
Use stable Rust with default features; some features may be unavailable.
affects: >=0.7.0
Upgrade
Version history
0.7.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
error-stack — cargo add error-stack · libregistry