aggregate-error-ponyfill
AggregateError ponyfill.
AggregateError ponyfill.
An ES-spec-compliant shim/polyfill/replacement for the `.cause` property on all Error types that works as far down as ES3
Polyfill `error.cause`
Works like Promise.allSettled except it will reject with an AggregateError if some of the promises rejected, otherwise resolves with the fulfilled values.