3 unstable releases

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

#1604 in Rust patterns

Download history 164/week @ 2024-01-04 210/week @ 2024-01-11 170/week @ 2024-01-18 243/week @ 2024-01-25 178/week @ 2024-02-01 214/week @ 2024-02-08 291/week @ 2024-02-15 271/week @ 2024-02-22 275/week @ 2024-02-29 248/week @ 2024-03-07 173/week @ 2024-03-14 311/week @ 2024-03-21 306/week @ 2024-03-28 307/week @ 2024-04-04 238/week @ 2024-04-11 197/week @ 2024-04-18

1,075 downloads per month
Used in 30 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

~125KB