Class AggregateError

A wrapper for multiple Errors

Param

The aggregated errors that occurred

Hierarchy

Constructors

Properties

cause?: 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

  • Returns string

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc