Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new NodeError(node: INode, messageOrError: string | Error): NodeError

Properties

message

message: string

name

name: string

Private node

node: INode

Optional stack

stack: undefined | string

Methods

getNode

  • Returns INode

getPosition

  • getPosition(): number
  • Returns number

toString

  • toString(): string
  • Returns string

Static IS_ERROR

  • IS_ERROR(objectToCheck: any): boolean
  • Parameters

    • objectToCheck: any

    Returns boolean

Static Protected errorToString

  • errorToString(error: Error | string, position: number): string
  • Parameters

    • error: Error | string
    • position: number

    Returns string

Generated using TypeDoc