convert_error

Function convert_error 

Source
pub fn convert_error<T, E>(result: Result<T, Error>, err: E) -> Result<T, E>