Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AggregateError

Hierarchy

  • Error
    • AggregateError

Index

Constructors

constructor

  • Parameters

    • Optional errors: any[]
    • Optional msg: string

    Returns AggregateError

Properties

__stack

__stack: string

original error stack before generating an aggregate one

errors

errors: any[]

errors collected

message

message: string

Readonly name

name: string

"AggregateError"

stack

stack: string

aggregate stack

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