Macro vipers::unwrap_or_err [−][src]
macro_rules! unwrap_or_err { ($option : expr, $error : tt $(,) ?) => { ... }; }
Expand description
Ensures an Option can be unwrapped, otherwise returns the error
macro_rules! unwrap_or_err { ($option : expr, $error : tt $(,) ?) => { ... }; }
Ensures an Option can be unwrapped, otherwise returns the error