Trait error_code::ErrorCodeEnum[][src]

pub trait ErrorCodeEnum: Into<i32> {
    type Category: Category;
    fn error_code(self) -> ErrorCode<Self::Category> { ... }
}

Identifies object as error code, allowing for it to be converted with right Category

Associated Types

type Category: Category[src]

Specifies category of error code.

Loading content...

Provided methods

fn error_code(self) -> ErrorCode<Self::Category>[src]

Converts self into ErrorCode

Loading content...

Implementors

Loading content...