source: trip-planner-front/node_modules/rxjs/_esm5/internal/util/UnsubscriptionError.js@ 8d391a1

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

initial commit

  • Property mode set to 100644
File size: 707 bytes
Line 
1/** PURE_IMPORTS_START PURE_IMPORTS_END */
2var 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})();
14export var UnsubscriptionError = UnsubscriptionErrorImpl;
15//# sourceMappingURL=UnsubscriptionError.js.map
Note: See TracBrowser for help on using the repository browser.