panic_message

Function get_panic_info_message

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

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