Skip to main content

catching_operation

Function catching_operation 

Source
pub fn catching_operation() -> Option<&'static str>
Expand description

The operation of the innermost catch of coven’s running on this thread, or None outside every one: for the app’s own panic hook, to say what the panicking work was doing. A panic a catch inside that work handles itself, such as a task tokio runs on this thread and catches, still names it. It never panics, so a hook can call it: a panic inside a hook ends the process.