autoerror 1.0.0

Automatically generate error handling traits.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use autoerror::AutoError;

#[derive(Debug, AutoError)]
enum Error {
    #[auto_error(err=true)]
    A(std::io::Error),
    B(std::fmt::Error),
}

pub fn main() {
}