Class AggregateRejection<E>

An error type produced when any produces any rejections. All rejections are aggregated into this type.

Note

This error type is not allowed to be subclassed.

Type Parameters

  • E extends unknown[]

    The type of the rejection reasons.

Hierarchy

  • Error
    • AggregateRejection

Constructors

Properties

cause?: unknown
errors: E
message: string
name: "AggregateRejection" = 'AggregateRejection'
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Returns a string representation of an object.

    Returns string

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void