Constructs a new parse error.
Optional
args?: Record<string, string | number>Optional
index?: numberOptional
causeOptional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackThe arguments associated with the lexicon key to create a localized error message.
The index number of the character from the input originally associated with the error. Please note, this may return undefined if no line number was originally associated with the error.
The lexicon key associated with the error. If the looked up
lexicon key has '%s', these will be replaced by arguments from in args
.
Static
captureGenerated using TypeDoc
An error that has some localized information attached to it.
This error has extra meta data associated with the error that can be translated into different locales.