Function take_panic_backtrace

Source
pub fn take_panic_backtrace() -> Result<String, Error>
Expand description

Take the backtrace from the task_local variable, and reset the task_local to None. Return error if the backtrace is not stored, or cannot be retrieved.