3 unstable releases

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

#2057 in Rust patterns

Download history 285/week @ 2024-07-19 233/week @ 2024-07-26 214/week @ 2024-08-02 207/week @ 2024-08-09 239/week @ 2024-08-16 203/week @ 2024-08-23 214/week @ 2024-08-30 226/week @ 2024-09-06 258/week @ 2024-09-13 340/week @ 2024-09-20 315/week @ 2024-09-27 218/week @ 2024-10-04 196/week @ 2024-10-11 156/week @ 2024-10-18 161/week @ 2024-10-25 221/week @ 2024-11-01

761 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