3 unstable releases

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

#1968 in Rust patterns

Download history 175/week @ 2024-03-13 318/week @ 2024-03-20 295/week @ 2024-03-27 275/week @ 2024-04-03 270/week @ 2024-04-10 226/week @ 2024-04-17 235/week @ 2024-04-24 195/week @ 2024-05-01 213/week @ 2024-05-08 207/week @ 2024-05-15 198/week @ 2024-05-22 224/week @ 2024-05-29 211/week @ 2024-06-05 208/week @ 2024-06-12 246/week @ 2024-06-19 188/week @ 2024-06-26

874 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