pub fn format(error: impl AsRef<dyn Error>) -> String
Format an error, including its chain of sources.
Always use this when displaying an error.