a zip code crypto-currency system good for red ONLY

ObjectUnsubscribedError.js 955B

123456789101112131415161718192021222324252627
  1. "use strict";
  2. var __extends = (this && this.__extends) || function (d, b) {
  3. for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
  4. function __() { this.constructor = d; }
  5. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  6. };
  7. /**
  8. * An error thrown when an action is invalid because the object has been
  9. * unsubscribed.
  10. *
  11. * @see {@link Subject}
  12. * @see {@link BehaviorSubject}
  13. *
  14. * @class ObjectUnsubscribedError
  15. */
  16. var ObjectUnsubscribedError = (function (_super) {
  17. __extends(ObjectUnsubscribedError, _super);
  18. function ObjectUnsubscribedError() {
  19. var err = _super.call(this, 'object unsubscribed');
  20. this.name = err.name = 'ObjectUnsubscribedError';
  21. this.stack = err.stack;
  22. this.message = err.message;
  23. }
  24. return ObjectUnsubscribedError;
  25. }(Error));
  26. exports.ObjectUnsubscribedError = ObjectUnsubscribedError;
  27. //# sourceMappingURL=ObjectUnsubscribedError.js.map