Implements

Hierarchy

Implements

Constructors

  • Parameters

    • Optional message: string

    Returns Failure

  • Parameters

    Returns Failure

Properties

cause?: unknown
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Accessors

  • get message(): string
  • Returns string

Methods

  • Returns string

  • Returns {
        message: string;
        name: string;
        stack: undefined | string;
    }

    • message: string
    • name: string
    • stack: undefined | string
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc