a zip code crypto-currency system good for red ONLY

EmptyError.js 850B

12345678910111213141516171819202122232425262728
  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 Observable or a sequence was queried but has no
  9. * elements.
  10. *
  11. * @see {@link first}
  12. * @see {@link last}
  13. * @see {@link single}
  14. *
  15. * @class EmptyError
  16. */
  17. var EmptyError = (function (_super) {
  18. __extends(EmptyError, _super);
  19. function EmptyError() {
  20. var err = _super.call(this, 'no elements in sequence');
  21. this.name = err.name = 'EmptyError';
  22. this.stack = err.stack;
  23. this.message = err.message;
  24. }
  25. return EmptyError;
  26. }(Error));
  27. exports.EmptyError = EmptyError;
  28. //# sourceMappingURL=EmptyError.js.map