#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

#1663 in Rust patterns

Download history 13/week @ 2024-11-08 248/week @ 2024-11-15 59/week @ 2024-11-22 128/week @ 2024-11-29 140/week @ 2024-12-06 54/week @ 2024-12-13 40/week @ 2024-12-20 8/week @ 2024-12-27 4/week @ 2025-01-03 29/week @ 2025-01-10 36/week @ 2025-01-17 17/week @ 2025-01-24 49/week @ 2025-01-31 25/week @ 2025-02-07 14/week @ 2025-02-14

91 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