This represents an error that was encountered during parsing.

Attributes
Read

The type of error. This is an internal symbol that is used for communicating with translation layers. It is not meant to be public API.

Read

The message associated with this error.

Read

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

Read

The level of 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.