pub fn format_panic_message(panic: Box<dyn Any + Send>, context: &str) -> String
Format a panic payload into a readable error message