pub trait IntoCategory<C: Category>: Category + Sized {
    fn map_code(code: ErrorCode<Self>) -> ErrorCode<C>;
}
Expand description

Describes way to convert from one Category into another.

Required methods

Converts error from category into own category.

Implementors