True Myth / task / AggregateRejection
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.
Extends
Error
Type Parameters
E
E extends unknown[]
The type of the rejection reasons.
Constructors
Constructor
new AggregateRejection<
E>(errors):AggregateRejection<E>
Parameters
errors
E
Returns
AggregateRejection<E>
Overrides
Error.constructor
Properties
cause?
optionalcause?:unknown
Inherited from
Error.cause
errors
readonlyerrors:E
message
message:
string
Inherited from
Error.message
name
readonlyname:"AggregateRejection"='AggregateRejection'
Overrides
Error.name
stack?
optionalstack?:string
Inherited from
Error.stack
Methods
toString()
toString():
string
Returns a string representation of an object.
Returns
string