3 unstable releases

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

#1182 in Rust patterns

Download history 85/week @ 2024-12-26 125/week @ 2025-01-02 163/week @ 2025-01-09 233/week @ 2025-01-16 168/week @ 2025-01-23 159/week @ 2025-01-30 208/week @ 2025-02-06 240/week @ 2025-02-13 185/week @ 2025-02-20 200/week @ 2025-02-27 149/week @ 2025-03-06 240/week @ 2025-03-13 166/week @ 2025-03-20 180/week @ 2025-03-27 116/week @ 2025-04-03 197/week @ 2025-04-10

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

MIT license

9KB
96 lines

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.

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.

Dependencies

~140KB