3 unstable releases

0.2.1 May 18, 2023
0.2.0 Jun 4, 2021
0.1.0 Jan 15, 2021

#2061 in Rust patterns

Download history 165/week @ 2024-10-16 187/week @ 2024-10-23 196/week @ 2024-10-30 131/week @ 2024-11-06 109/week @ 2024-11-13 153/week @ 2024-11-20 221/week @ 2024-11-27 262/week @ 2024-12-04 250/week @ 2024-12-11 153/week @ 2024-12-18 65/week @ 2024-12-25 129/week @ 2025-01-01 152/week @ 2025-01-08 223/week @ 2025-01-15 205/week @ 2025-01-22 152/week @ 2025-01-29

755 downloads per month
Used in 31 crates (12 directly)

MIT license

9KB
96 lines

The tectonic_errors create

This crate is part of the Tectonic project. It provides a basic boxed error type and utilities.

This implementation forked from Cranko.


lib.rs:

Generic error handling for Tectonic.

This crate provides a generic boxed error type, plus supporting utilities. In particular:

  • The basic Error type is an anyhow 1.x boxed Error
  • The atry! macro allows simple structured annotations to be added to ? operations
  • The a_ok_or! macro allows for annotations to Option::ok_or_else calls.

Dependencies

~135KB