Parser error message.
An error message contains:
- the index of the token at which the error was encountered.
- the position (line and column) at which the error was encountered.
- the token that cause the failure, as a string.
- a list of the values that were expected.
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any