pub fn format_error(source: &Source, err: &NewtError) -> String
Pretty-print an error with source context.