@acutmore/rxjs
Version:
Reactive Extensions for modern JavaScript
21 lines • 701 B
JavaScript
/**
* An error thrown when an action is invalid because the object has been
* unsubscribed.
*
* @see {@link Subject}
* @see {@link BehaviorSubject}
*
* @class ObjectUnsubscribedError
*/
var ObjectUnsubscribedError = /** @class */ (function (_super) {
__extends(ObjectUnsubscribedError, _super);
function ObjectUnsubscribedError() {
var _this = _super.call(this, 'object unsubscribed') || this;
_this.name = 'ObjectUnsubscribedError';
Object.setPrototypeOf(_this, ObjectUnsubscribedError.prototype);
return _this;
}
return ObjectUnsubscribedError;
}(Error));
export { ObjectUnsubscribedError };
//# sourceMappingURL=ObjectUnsubscribedError.js.map