xen-orchestra/@xen-orchestra/xapi/_AggregateError.mjs
Julien Fontanet c3e0308ad0 chore(xapi): convert to ESM
BREAKING CHANGE
2023-07-10 16:45:31 +02:00

8 lines
168 B
JavaScript

// TODO: remove when Node >=15.0
export default class AggregateError extends Error {
constructor(errors, message) {
super(message)
this.errors = errors
}
}