Module error

Source
Expand description

Types for error reporting.

This module is built around the Error type, which is returned when any parsing function encounters an error. Typically, these will not be created directly, but instead propagated up from the built-in parsing functions. The exception to this is Lookahead::error.

Structsยง

Error
An error or collection of errors raised during parsing.
Reportariadne
A reported error, ready to be written to stderr.