pub trait Category {
    const NAME: &'static str;

    fn message(code: i32) -> Str;
}
Expand description

Describes category of Error, defining it’s semantics.

Associated Constants

Category’s name, used in formatting to identify type of error code.

Required methods

Returns the explanatory text for the code.

Implementations on Foreign Types

Implementors