macro_rules! handle_error {
($call:expr, $msg:expr, $($params:tt)*) => { ... };
($call:expr, $msg:expr) => { ... };
}
Expand description
Log and propagate the error result from a given expression
This logs the provided message and exits the function scope on error, and returns the unpacked Ok(value) on success.