panic_message

Function get_panic_message

Source
pub fn get_panic_message(payload: &Box<dyn Any + Send>) -> Option<&str>
Expand description

Attempt to produce a &str message from a std::panic::catch_unwind payload. See module docs for usage.