macro_rules! argmin_error_closure {
    ($error_type:ident, $msg:expr) => { ... };
}
Expand description

Create an ArgminError with a provided message wrapped in a closure for use in .ok_or_else(...) methods on Options.