Parsem::ParseError(Token)
Inherits Struct / Value / Object
Description of why a parser failed.
Instance methods
actual
Description of the input actually encountered.
Token is a single invalid token.
Array(Token) is a sequence of tokens that, taken together, are invalid.
Other cases are explained in their respective types' docs.
expected
Description of the input that was expected by the parser.
nil means unknown.
Other cases are explained in their respective types' docs.
to_s(io)
Source