macro_rules! catch {
    ($val:expr, { $($name:ident: $type:ty => $code:expr,)* }) => { ... };
}
Expand description

Catches a previously thrown exception and matches it by its type.