Raised by a lexer when it cannot parse a token from the lexbuf.
Raised by some functions to signal that some code point is not compatible with a specified encoding.