Function panic_persist::get_panic_message_utf8[][src]

pub fn get_panic_message_utf8() -> Option<&'static str>
Expand description

Get the panic message from the last boot, if any. If any invalid UTF-8 characters occur, the message will be truncated before the first error.

If a message existed, this function will only return the value once (subsequent calls will return None)