1 unstable release
0.1.0 | Sep 28, 2019 |
---|
#1814 in Rust patterns
15,923 downloads per month
Used in 8 crates
(6 directly)
25KB
303 lines
err-context
This library allows one to attach context (layers) onto errors with minimal amount of work and analyze such multi-layer errors.
The API and working is heavily influenced by the
failure crate. However, only the part that
works with contexts/layers is present in here (for generating error types, see
the err-derive, which implements the
derive part of functionality). Furthermore, this library works with std
errors.
Read the documentation before using.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~17KB