errorstack 0.1.1

A derive-based typed error system with first-class error stack building.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use errorstack::ErrorStack;

#[derive(ErrorStack)]
enum AppError {
    Conflict {
        source: std::io::Error,
        #[source]
        other: std::io::Error,
    },
}

fn main() {}