The type of the error semantic value, stored in error. It can vary based on the error semantics defined while parsing. It must implement Identifiable
Readonly
errorThe semantic error value produced in the parsing process.
Readonly
indexReadonly
isReadonly
resultReadonly
targetReturns a string identity of the ParseError.
The following criteria are checked to produce a unique signature and distinguish two ParseError instances properly:
A string identity of the ParseError.
Generates a Promise that will resolve with this ParseError.
A new Promise wrapper for this ParseError.
A class for parse error results.
An object of this type gets returned on parses that tried to match their target but failed. All parsers that produce errors return an error semantic value, which specifies the kind of error that occured.
See
Identifiable