Macro throw

Source
macro_rules! throw {
    ($err:expr) => { ... };
}
Expand description

Creates a new Result::Err(Trace<E>) and immediately returns it.

This relies on the return type of the function to provide type inference for the Result::Ok(T) type.