panic_message

Function panic_message

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

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