Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AggregateError

A wrapper for multiple Errors

param errors

The aggregated errors that occurred

Hierarchy

Index

Constructors

Properties

cause: undefined | Error
errors: (Error | AggregateError)[]

the aggregated errors that occurred

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

Type declaration

stackTraceLimit: number

Accessors

  • get original(): this["cause"]
  • Returns this["cause"]

  • get parent(): this["cause"]
  • Returns this["cause"]

Methods

  • toString(): string
  • Returns string

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc