Function candid::parser::token::error[][src]

pub fn error<E: ToString>(err: E) -> ParseError<usize, Token, LexicalError>