EmptyError.js 284 B

123456789
  1. function EmptyErrorImpl() {
  2. Error.call(this);
  3. this.message = 'no elements in sequence';
  4. this.name = 'EmptyError';
  5. return this;
  6. }
  7. EmptyErrorImpl.prototype = Object.create(Error.prototype);
  8. export const EmptyError = EmptyErrorImpl;
  9. //# sourceMappingURL=EmptyError.js.map