Module error

Source
Expand description

Types for different kinds of parsing failures.

Structs§

Error
Parse-related error type.

Enums§

ErrorVariant
Different kinds of parsing errors.
InputLocation
Where an Error has occurred.
LineColLocation
Line/column where an Error has occurred.

Type Aliases§

IsWhitespaceFn
Function mapping string element to bool denoting whether it’s a whitespace defined by user.
RuleToMessageFn
Function mapping rule to its helper message defined by user.