This represents an error that was encountered during parsing.

Attributes
Read

A Location object representing the location of this error in the source.

Read

The message associated with this error.

Class Methods

Create a new error object with the given message and location.

Instance Methods

Implement the hash pattern matching interface for ParseError.

Returns a string representation of this error.