项目原始demo,不改动
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Questo repository è archiviato. Puoi vedere i file e clonarli, ma non puoi effettuare richieste di pushj o aprire problemi/richieste di pull.
 
 
 
 

28 righe
850 B

  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