Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / internal / util / UnsubscriptionError.js
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 var UnsubscriptionErrorImpl = (function () {
4     function UnsubscriptionErrorImpl(errors) {
5         Error.call(this);
6         this.message = errors ?
7             errors.length + " errors occurred during unsubscription:\n" + errors.map(function (err, i) { return i + 1 + ") " + err.toString(); }).join('\n  ') : '';
8         this.name = 'UnsubscriptionError';
9         this.errors = errors;
10         return this;
11     }
12     UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);
13     return UnsubscriptionErrorImpl;
14 })();
15 exports.UnsubscriptionError = UnsubscriptionErrorImpl;
16 //# sourceMappingURL=UnsubscriptionError.js.map