minor adjustment to readme
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm5 / internal / util / UnsubscriptionError.js
1 /** PURE_IMPORTS_START  PURE_IMPORTS_END */
2 var UnsubscriptionErrorImpl = /*@__PURE__*/ (function () {
3     function UnsubscriptionErrorImpl(errors) {
4         Error.call(this);
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';
8         this.errors = errors;
9         return this;
10     }
11     UnsubscriptionErrorImpl.prototype = /*@__PURE__*/ Object.create(Error.prototype);
12     return UnsubscriptionErrorImpl;
13 })();
14 export var UnsubscriptionError = UnsubscriptionErrorImpl;
15 //# sourceMappingURL=UnsubscriptionError.js.map