3 unstable releases

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

#1831 in Rust patterns

Download history 292/week @ 2024-02-26 271/week @ 2024-03-04 180/week @ 2024-03-11 257/week @ 2024-03-18 304/week @ 2024-03-25 334/week @ 2024-04-01 258/week @ 2024-04-08 222/week @ 2024-04-15 225/week @ 2024-04-22 203/week @ 2024-04-29 199/week @ 2024-05-06 233/week @ 2024-05-13 191/week @ 2024-05-20 228/week @ 2024-05-27 198/week @ 2024-06-03 193/week @ 2024-06-10

846 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

~130KB