#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

#1498 in Rust patterns

Download history 42/week @ 2024-10-16 79/week @ 2024-10-23 62/week @ 2024-10-30 59/week @ 2024-11-06 160/week @ 2024-11-13 136/week @ 2024-11-20 74/week @ 2024-11-27 187/week @ 2024-12-04 64/week @ 2024-12-11 32/week @ 2024-12-18 23/week @ 2024-12-25 7/week @ 2025-01-01 20/week @ 2025-01-08 30/week @ 2025-01-15 29/week @ 2025-01-22 50/week @ 2025-01-29

130 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