This library provides a custom [eyre::EyreContext
] type for usage with
[eyre
] that provides a minimal error report with no additional context.
Essentially the minimal implementation of an error reporter.
toml
[dependencies]
eyre = "0.4"
simple-eyre = "0.2"
```rust use eyre::{eyre, WrapErr}; use simple_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")
} ```
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.