3 unstable releases

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

#2060 in Rust patterns

Download history 134/week @ 2024-11-16 175/week @ 2024-11-23 264/week @ 2024-11-30 245/week @ 2024-12-07 242/week @ 2024-12-14 97/week @ 2024-12-21 64/week @ 2024-12-28 165/week @ 2025-01-04 195/week @ 2025-01-11 217/week @ 2025-01-18 151/week @ 2025-01-25 182/week @ 2025-02-01 214/week @ 2025-02-08 214/week @ 2025-02-15 190/week @ 2025-02-22 152/week @ 2025-03-01

817 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