Skip to main content

CAUGHT_PANIC_DETAILS

Constant CAUGHT_PANIC_DETAILS 

Source
const CAUGHT_PANIC_DETAILS: LocalKey<RefCell<Option<PanicDetails>>>;
Available on crate feature panic and non-target_family=wasm only.
Expand description

Details about the most recently caught panic, recorded by the enhanced panic handler when CAPTURE_PANIC_DETAILS is non-zero. Consumed by catch_unwind_with_details.