@furystack/core
Version:
Core FuryStack package
13 lines • 448 B
JavaScript
/**
* Error wrapper that carries the original rejections alongside a single
* summary message. Use when an operation has fan-out failures that must all
* be reported (e.g. parallel disposal where every failure should surface).
*/
export class AggregatedError extends Error {
rejections;
constructor(message, rejections) {
super(message);
this.rejections = rejections;
}
}
//# sourceMappingURL=aggregated-error.js.map