struct

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.

Source
expected

Description of the input that was expected by the parser.

nil means unknown. Other cases are explained in their respective types' docs.

Source
to_s(io)
Source

Nested types