#error-reporting #interface #context-aware

zerror

zerror provides an error interface for context-aware error-reporting

8 releases (breaking)

0.7.0 Oct 8, 2024
0.6.0 Sep 17, 2024
0.5.0 Aug 19, 2024
0.4.0 Feb 19, 2024
0.1.0 Apr 5, 2023

#1254 in Rust patterns

Download history 90/week @ 2024-08-03 59/week @ 2024-08-10 226/week @ 2024-08-17 86/week @ 2024-08-24 129/week @ 2024-08-31 41/week @ 2024-09-07 257/week @ 2024-09-14 137/week @ 2024-09-21 97/week @ 2024-09-28 243/week @ 2024-10-05 65/week @ 2024-10-12 37/week @ 2024-10-19 99/week @ 2024-10-26 73/week @ 2024-11-02 37/week @ 2024-11-09 232/week @ 2024-11-16

441 downloads per month
Used in 27 crates (16 directly)

Apache-2.0

5KB
61 lines

zerror

zerror provides an error interface for context-aware error-reporting.

Status

Maintenance track. The library is considered stable and will be put into maintenance mode if unchanged for one year.

Scope

This library is scoped to provide the Z trait.

Warts

  • zerror_core is a separate crate that provides a wrappable struct for implementing Z. This is mildly inconvenient, but was done to separate this library from the zerror_core dependencies.

Upgrading

  • 0.3 -> 0.4: The with_* methods have been consolidated into a single with_info and with_lazy_info implementation. They will be removed in 0.5.

Documentation

The latest documentation is always available at docs.rs.

No runtime deps