Expand description
Panic utilities.
Constants§
- CATCHING_
UNWIND 🔒 - Keeps track of how many
catch_unwindcalls we are inside.
Statics§
Functions§
- catch_
unwind - Like
std::panic::catch_unwind, but can unwind panics even ifinstall_enhanced_handlerhas been called. - catch_
unwind_ str - Like
crate::panic::catch_unwind, but downcasts the returnedBox<dyn Any>error to a string which is almost always is. - install_
enhanced_ handler - Overwrites the default panic handler with an enhanced panic handler.