1 /** PURE_IMPORTS_START PURE_IMPORTS_END */
2 var UnsubscriptionErrorImpl = /*@__PURE__*/ (function () {
3 function UnsubscriptionErrorImpl(errors) {
5 this.message = errors ?
6 errors.length + " errors occurred during unsubscription:\n" + errors.map(function (err, i) { return i + 1 + ") " + err.toString(); }).join('\n ') : '';
7 this.name = 'UnsubscriptionError';
11 UnsubscriptionErrorImpl.prototype = /*@__PURE__*/ Object.create(Error.prototype);
12 return UnsubscriptionErrorImpl;
14 export var UnsubscriptionError = UnsubscriptionErrorImpl;
15 //# sourceMappingURL=UnsubscriptionError.js.map