a zip code crypto-currency system good for red ONLY

EmptyError.js 903B

123456789101112131415161718192021222324252627282930
  1. /** PURE_IMPORTS_START PURE_IMPORTS_END */
  2. var __extends = (this && this.__extends) || function (d, b) {
  3. for (var p in b)
  4. if (b.hasOwnProperty(p))
  5. d[p] = b[p];
  6. function __() { this.constructor = d; }
  7. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  8. };
  9. /**
  10. * An error thrown when an Observable or a sequence was queried but has no
  11. * elements.
  12. *
  13. * @see {@link first}
  14. * @see {@link last}
  15. * @see {@link single}
  16. *
  17. * @class EmptyError
  18. */
  19. export var EmptyError = /*@__PURE__*/ (/*@__PURE__*/ function (_super) {
  20. __extends(EmptyError, _super);
  21. function EmptyError() {
  22. var err = _super.call(this, 'no elements in sequence');
  23. this.name = err.name = 'EmptyError';
  24. this.stack = err.stack;
  25. this.message = err.message;
  26. }
  27. return EmptyError;
  28. }(Error));
  29. //# sourceMappingURL=EmptyError.js.map