panic_message

Function panic_info_message

Source
pub fn panic_info_message<'pi>(panic_info: &'pi PanicInfo<'_>) -> &'pi str
Expand description

Attempt to produce a &str message (with a default) from a std::panic::PanicInfo. See module docs for usage.