1 unstable release
0.1.0 | Feb 5, 2020 |
---|
#13 in #catch
25 downloads per month
11KB
230 lines
The shape of errors to come
[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
oranomaly
. 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.