Function std::panicking::rust_panic_with_hook
source · fn rust_panic_with_hook(
payload: &mut dyn BoxMeUp,
message: Option<&Arguments<'_>>,
location: &Location<'_>,
can_unwind: bool
) -> !
Expand description
Central point for dispatching panics.
Executes the primary logic for a panic, including checking for recursive panics, panic hooks, and finally dispatching to the panic runtime to either abort or unwind.