mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-18 08:13:39 -05:00
chore(package): re-init package with commitizen and standard-release
This commit is contained in:
25
node_modules/rxjs/util/UnsubscriptionError.js
generated
vendored
Normal file
25
node_modules/rxjs/util/UnsubscriptionError.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
/**
|
||||
* An error thrown when one or more errors have occurred during the
|
||||
* `unsubscribe` of a {@link Subscription}.
|
||||
*/
|
||||
var UnsubscriptionError = (function (_super) {
|
||||
__extends(UnsubscriptionError, _super);
|
||||
function UnsubscriptionError(errors) {
|
||||
_super.call(this);
|
||||
this.errors = errors;
|
||||
var err = Error.call(this, errors ?
|
||||
errors.length + " errors occurred during unsubscription:\n " + errors.map(function (err, i) { return ((i + 1) + ") " + err.toString()); }).join('\n ') : '');
|
||||
this.name = err.name = 'UnsubscriptionError';
|
||||
this.stack = err.stack;
|
||||
this.message = err.message;
|
||||
}
|
||||
return UnsubscriptionError;
|
||||
}(Error));
|
||||
exports.UnsubscriptionError = UnsubscriptionError;
|
||||
//# sourceMappingURL=UnsubscriptionError.js.map
|
||||
Reference in New Issue
Block a user