err-context 0.1.0

Lightweight context layers for stdandard library errors
Documentation
  • Coverage
  • 100%
    29 out of 29 items documented2 out of 28 items with examples
  • Size
  • Source code size: 46.78 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 7.23 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 21s Average build duration of successful builds.
  • all releases: 21s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • vorner/err-context
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • vorner github:rust-bus:maintainers

err-context

Travis Build Status

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

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.