pub fn format_error( format: Format, error: &str, path: Option<&str>, hint: Option<&str>, cause: Option<&str>, ) -> String
Format an error for output to stderr.