Class AssertionError

Error indicating that an assertion failed.

Hierarchy

  • Error
    • AssertionError

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Properties

stackTraceLimit: number
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

name: string
message: string
stack?: string

Constructors

Generated using TypeDoc