From 8975073416bc9ed1b80a5fbc7014de103271d763 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Wed, 22 Jun 2022 00:07:32 +0200 Subject: [PATCH] fix(xapi): add missing file Introduced by b12c17947 Thanks @Danp2. --- @xen-orchestra/xapi/_AggregateError.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 @xen-orchestra/xapi/_AggregateError.js diff --git a/@xen-orchestra/xapi/_AggregateError.js b/@xen-orchestra/xapi/_AggregateError.js new file mode 100644 index 000000000..07b8f3650 --- /dev/null +++ b/@xen-orchestra/xapi/_AggregateError.js @@ -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 + } +}