Node Exception

Throwable class for invalid node data

Name

NodeException

Access

public

Hierarchy

  • Error
    • NodeException

Constructors

  • Constructor

    Initialiased the error

    Parameters

    • errors: string[][]

      The list of errors found

    Returns NodeException

    NodeException

    Name

    NodeException

    Access

    public

Properties

errors: string[][]
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

  • To String

    Returns the exception in a string format

    Returns string

    string

    Name

    toString

    Access

    public

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void