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.
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.
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.