An error that is thrown if the expression Parser encounters an error.

Hierarchy

  • SyntaxError
    • ParserError

Constructors

  • Constructs a new parser error.

    Parameters

    • message: string

      The error message

    • expression: string

      The expression that caused the error

    • column: number

      The column number in which the error occurred

    • line: number = 1

      The line number in which the error occurred

    Returns ParserError

Properties

column: number

The column number in which the error occurred.

expression: string

The expression that caused the error.

line: number

The line number in which the error occurred.

message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc