errlanes-derive 0.20.2

Derive macros for errlanes (Rejection, Lift, Failure)
Documentation
1
2
3
4
5
6
7
8
9
#[derive(Debug, errlanes::Rejection)]
#[rejection(code = "SHARED", description = "shared")]
enum Described {
    #[rejection(description = "mine")]
    A,
    B,
}

fn main() {}