Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ParseError

Exception thrown when a sequence of characters doesn't match a grammar

Hierarchy

  • Error
    • ParseError

Index

Constructors

constructor

  • Parameters

    • message: string

    Returns ParseError

Properties

message

message: string

name

name: string

Optional stack

stack?: string

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Static Optional prepareStackTrace

  • prepareStackTrace(err: Error, stackTraces: CallSite[]): any

Generated using TypeDoc