macro_rules! try_or_err { ($result : expr, $error : tt $(,) ?) => { ... }; }
Tries to unwrap the Result, otherwise returns the error
let my_value = try_or_err!(function_returning_result(), MyError);