Optional
message: stringOptional
stackStatic
Optional
prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static
stackOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
thisArg: anyOptional
initialValue: anyOptional
initialValue: anyOptional
begin: numberOptional
end: numberOptional
thisArg: anyStatic
capture
A collection of errors.
AggregateError
is an array-like object, with numeric indices and a.length
property. It supports all generic array methods such as.forEach
directly.AggregateError
s are caught in.error
handlers, even if the contained errors are not operational.Promise.some
andPromise.any
useAggregateError
as rejection reason when they fail.