skerry 0.1.2

Super Kool ERRors Yoh - A type-safe, zero-boilerplate error management framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub trait ComparableError {
    const NAME: &'static str;
    const CODES: &'static [&'static str];
}
pub trait ErrCode {
    const CODE: &'static str;
}

// #[diagnostic::(
//     message = "The error '{E}' is not handled by the function return type
// '{Self}'",     label = "this error is missing from the #[fn_error] list",
//     note = "Add '{E}' to your #[fn_error(...)] attribute to allow this
// conversion." )]V
pub trait MissingConvert<T> {}