pub fn parseerror(typename: &str, input: &str, reason: &str) -> String
Generate an error message for parse errors