#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

#1255 in Rust patterns

Download history 110/week @ 2024-07-29 85/week @ 2024-08-05 58/week @ 2024-08-12 249/week @ 2024-08-19 129/week @ 2024-08-26 51/week @ 2024-09-02 50/week @ 2024-09-09 287/week @ 2024-09-16 120/week @ 2024-09-23 81/week @ 2024-09-30 251/week @ 2024-10-07 53/week @ 2024-10-14 50/week @ 2024-10-21 81/week @ 2024-10-28 77/week @ 2024-11-04 79/week @ 2024-11-11

291 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