source: trip-planner-front/node_modules/rxjs/internal/util/UnsubscriptionError.js@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 708 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var 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})();
15exports.UnsubscriptionError = UnsubscriptionErrorImpl;
16//# sourceMappingURL=UnsubscriptionError.js.map
Note: See TracBrowser for help on using the repository browser.