pub fn write_error_chain(err: &dyn Error) -> Result
Format an error chain to standard error using the default level and color.