Skip to main content

other_error

Function other_error 

Source
pub fn other_error<E: Display>(err: E) -> CoreError
Expand description

Helper to convert any error into CoreError::Other. Use this instead of ? when the error type is not a known CoreError variant.