dieumercimvemba's picture
download
raw
595 Bytes
'use strict';
const Stringify = require('./stringify');
const internals = {};
module.exports = class extends Error {
constructor(args) {
const msgs = args
.filter((arg) => arg !== '')
.map((arg) => {
return typeof arg === 'string' ? arg : arg instanceof Error ? arg.message : Stringify(arg);
});
super(msgs.join(' ') || 'Unknown error');
if (typeof Error.captureStackTrace === 'function') { // $lab:coverage:ignore$
Error.captureStackTrace(this, exports.assert);
}
}
};

Xet Storage Details

Size:
595 Bytes
·
Xet hash:
9f5f15daa8362bb06c0b3876a2f01d6e9272b06ff5826ae163a303e5837e5d32

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.