error_set 0.9.1

Quick error declarations and automatic conversions between errors for precisely typed error handling. Inspired by Zig's error set type.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
error: A reference to AuthError1 was declared with 0 generic param(s), but the original definition takes 1.
  --> tests/trybuild/generic_specification_needed.rs:32:10
   |
32 |     } || AuthError1 || AuthError2 || AuthError3
   |          ^^^^^^^^^^

warning: unused import: `std::fmt::Debug`
 --> tests/trybuild/generic_specification_needed.rs:1:5
  |
1 | use std::fmt::Debug;
  |     ^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default