Class ParserException

Thrown when a [[Parser]] parses invalid syntax.

Hierarchy

  • Error
    • ParserException

Constructors

  • Parameters

    Returns ParserException

Properties

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

Type declaration

stackTraceLimit: number

Methods

  • Returns string

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc