text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = void 0;
  
  var _FieldsLimitError = _interopRequireDefault(require("../error/FieldsLimitError"));
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  const onFieldsLimit = ({
    limits
  }, cb) => () => cb(new _FieldsLimitError.default(`Limit reached: Available up to ${limits.fields} fields.`));
  
  var _default = onFieldsLimit;
  exports.default = _default;