Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SyntaxError

class

Hierarchy

  • Error
    • SyntaxError

Index

Constructors

Properties

Constructors

constructor

  • new SyntaxError(message: string, line: number, column: number): SyntaxError
  • constructor

    Parameters

    • message: string

      The error message

    • line: number

      The line where the error occurred

    • column: number

      The column where the error occurred

    Returns SyntaxError

Properties

column

column: number

The column where the error occurred.

line

line: number

The line where the error occurred.

message

message: string

name

name: string

Optional stack

stack: string

Static Error

Error: ErrorConstructor

Generated using TypeDoc