Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • FailureException

Index

Constructors

constructor

  • new FailureException(message?: string, retries?: number, retryTimeout?: number): FailureException

Properties

message

message: string

name

name: string

retries

retries: number = 1

retryTimeout

retryTimeout: number = 1000

Optional stack

stack: string

Static Optional prepareStackTrace

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

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Optional override for formatting stack traces

      Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

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

Generated using TypeDoc