Module panic_handler

Source
Expand description

Used to capture the backtrace from panic and store it in a task_local, so that it can be retrieved later when the panic is catched.

Functionsยง

set_panic_hook
Call this from the main method of your application, and use it in conjunction with [[with_backtrace_tracking]] and [[take_panic_info]], in order to capture the backtrace from a panic.