appstore: networkError is an aggreate error

This commit is contained in:
Girish Ramakrishnan
2024-10-30 18:30:47 +01:00
parent 78a08c5a0b
commit 0df1e3a47f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ exports = module.exports = BoxError;
function BoxError(reason, errorOrMessage, extra) {
assert.strictEqual(typeof reason, 'string');
assert(errorOrMessage instanceof Error || typeof errorOrMessage === 'string');
assert(typeof override === 'object' || typeof override === 'undefined');
assert(typeof extra === 'object' || typeof extra === 'undefined');
Error.call(this);
Error.captureStackTrace(this, this.constructor);