Macro very_bad_error_propagation::catch
source · [−]macro_rules! catch {
($val:expr, { $($name:ident: $type:ty => $code:expr,)* }) => { ... };
}
Expand description
Catches a previously thrown exception and matches it by its type.
macro_rules! catch {
($val:expr, { $($name:ident: $type:ty => $code:expr,)* }) => { ... };
}
Catches a previously thrown exception and matches it by its type.