EmptyError.js 453 B

1234567891011121314
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var EmptyErrorImpl = (function () {
  4. function EmptyErrorImpl() {
  5. Error.call(this);
  6. this.message = 'no elements in sequence';
  7. this.name = 'EmptyError';
  8. return this;
  9. }
  10. EmptyErrorImpl.prototype = Object.create(Error.prototype);
  11. return EmptyErrorImpl;
  12. })();
  13. exports.EmptyError = EmptyErrorImpl;
  14. //# sourceMappingURL=EmptyError.js.map