pub fn format_error_chain(error: &(dyn Error + 'static)) -> String
Format an error including its full source chain and sanitize the result.