Skip to main content

is_caught

Function is_caught 

Source
pub fn is_caught() -> bool
Expand description

Whether a panic raised on this thread now ends at an enclosing caught rather than ending the program. Never in a build that aborts on panic, where no boundary can catch one.