Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

EmptyError.js 377B

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