#error-reporting #interface #within #context-aware

zerror

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

5 releases (3 breaking)

0.4.0 Feb 19, 2024
0.3.0 Dec 27, 2023
0.2.0 Sep 21, 2023
0.1.1 Jul 9, 2023
0.1.0 Apr 5, 2023

#604 in Rust patterns

Download history 20/week @ 2024-01-08 9/week @ 2024-01-15 4/week @ 2024-01-22 6/week @ 2024-02-05 22/week @ 2024-02-12 172/week @ 2024-02-19 107/week @ 2024-02-26 30/week @ 2024-03-04 42/week @ 2024-03-11 32/week @ 2024-03-18 49/week @ 2024-03-25 92/week @ 2024-04-01 22/week @ 2024-04-08 28/week @ 2024-04-15

192 downloads per month
Used in 21 crates (14 directly)

Apache-2.0

6KB
88 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