[−][src]Crate stable_eyre
This library provides a custom eyre::EyreContext type for usage with eyre that provides
all the same features as eyre::DefaultContext except it works on stable by capturing a
backtrace::Backtrace via backtrace-rs.
Example
use eyre::{eyre, WrapErr}; use stable_eyre::Report; fn main() -> Result<(), Report> { let e: Report = eyre!("oh no this program is just bad!"); Err(e).wrap_err("usage example successfully experienced a failure") }
Structs
| Context | A custom context type for capturing backtraces on stable with |
Type Definitions
| Report | A type alias for |
| Result | A type alias for |