if_err_return_with

Macro if_err_return_with 

Source
macro_rules! if_err_return_with {
    ($var:expr, $ret:expr) => { ... };
}
Expand description

Return a residual value if a Result expression evaluates to Err.