3 unstable releases

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

#1487 in Rust patterns

Download history 180/week @ 2023-12-13 171/week @ 2023-12-20 109/week @ 2023-12-27 142/week @ 2024-01-03 201/week @ 2024-01-10 180/week @ 2024-01-17 242/week @ 2024-01-24 186/week @ 2024-01-31 212/week @ 2024-02-07 254/week @ 2024-02-14 297/week @ 2024-02-21 289/week @ 2024-02-28 238/week @ 2024-03-06 175/week @ 2024-03-13 318/week @ 2024-03-20 196/week @ 2024-03-27

984 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