Crates.io | err-context |
lib.rs | err-context |
version | 0.1.0 |
source | src |
created_at | 2019-09-28 19:41:31.197464 |
updated_at | 2019-09-28 19:41:31.197464 |
description | Lightweight context layers for stdandard library errors |
homepage | |
repository | https://github.com/vorner/err-context |
max_upload_size | |
id | 168483 |
size | 37,451 |
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
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.