pub trait IntoError {
// Required method
fn into_error(self) -> Error;
}Expand description
Conversion into [Error].
Required Methods§
Sourcefn into_error(self) -> Error
fn into_error(self) -> Error
Converts into a module error.
This method is intended to be used within Module::setup, to make
it convenient to convert an arbitrary error into a module error.