Stable category suitable for application logic.
Original expression, without Unicode or whitespace normalization.
Zero-based UTF-16 index of the error, or input.length for missing input.
Expected token hints when available; empty for evaluation failures.
OptionalcauseReadonlycodeStable category suitable for application logic.
ReadonlycolumnOne-based UTF-16 column in the original input.
ReadonlyexpectedExpected token hints when available; empty for evaluation failures.
ReadonlyinputOriginal expression, without Unicode or whitespace normalization.
ReadonlylineOne-based line in the original input.
ReadonlyoffsetZero-based UTF-16 index of the error, or input.length for missing input.
Optionalstack
A parsing error located in the original input (offsets use JavaScript UTF-16 indices).