Options
All
  • Public
  • Public/Protected
  • All
Menu

Class for representing Parser Error.

Hierarchy

Index

Constructors

constructor

  • new ParseError(positionStart: number, positionEnd: number, errorName: string, details: string): ParseError
  • Contructor for the ParseError.

    Parameters

    • positionStart: number

      Starting position of the parse error.

    • positionEnd: number

      Ending position of the parse error.

    • errorName: string

      Name of the error.

    • details: string

      Error details.

    Returns ParseError

Properties

details

details: string

Error details.

errorName

errorName: string

Name of the error.

message

message: string

name

name: string

positionEnd

positionEnd: number

Ending position of the parse error.

positionStart

positionStart: number

Starting position of the parse error.

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Generated using TypeDoc