IntoLodashError

Trait IntoLodashError 

Source
pub trait IntoLodashError<T> {
    // Required method
    fn into_lodash_error(self) -> Result<T>;
}
Expand description

Extension trait for converting other error types to LodashError.

Required Methods§

Source

fn into_lodash_error(self) -> Result<T>

Convert the error to a LodashError.

§Errors

Returns a LodashError if the conversion fails.

Implementations on Foreign Types§

Source§

impl<T, E> IntoLodashError<T> for Result<T, E>
where E: Display,

Implementors§