parent
d1c1378c9d
commit
8975073416
9
@xen-orchestra/xapi/_AggregateError.js
Normal file
9
@xen-orchestra/xapi/_AggregateError.js
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
'use strict'
|
||||||
|
|
||||||
|
// TODO: remove when Node >=15.0
|
||||||
|
module.exports = class AggregateError extends Error {
|
||||||
|
constructor(errors, message) {
|
||||||
|
super(message)
|
||||||
|
this.errors = errors
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user