#error #catch #generic #traits #type #context #error-context

eyre-impl

The generic backing types and traits necessary to implement different forms of catch all contextual errors

1 unstable release

0.1.0 Feb 5, 2020

#13 in #catch

25 downloads per month

MIT/Apache

11KB
230 lines

The shape of errors to come

Latest Version Rust Documentation

[dependencies]
eyre-impl = "0.1"

Example

INSERT SIMPLE BOXERROR + BACKTRACE IMPL HERE

Details

  • This library provides the shared machinery needed when building error types like anyhow or anomaly. The key insight in this crate is the clean separation of context for errors and the errors themselves. This crate should not be used as a direct dependency, the indended usage is to either use one of the crates that depend on this crate, or to fork one of those crates and use it as a jumping off point for implementing an catch-all contextualizing error type that exactly fits your needs.

License

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.

No runtime deps