'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var _classCallCheck = _interopDefault(require('@babel/runtime/helpers/classCallCheck'));
var _possibleConstructorReturn = _interopDefault(require('@babel/runtime/helpers/possibleConstructorReturn'));
var _getPrototypeOf = _interopDefault(require('@babel/runtime/helpers/getPrototypeOf'));
var _inherits = _interopDefault(require('@babel/runtime/helpers/inherits'));
var Exception = _interopDefault(require('.'));

var FieldRuleNotFoundException =
/*#__PURE__*/
function (_Exception) {
  _inherits(FieldRuleNotFoundException, _Exception);

  function FieldRuleNotFoundException(field) {
    _classCallCheck(this, FieldRuleNotFoundException);

    return _possibleConstructorReturn(this, _getPrototypeOf(FieldRuleNotFoundException).call(this, "\"".concat(field, "\" field rule not found. did you forget to define it?"), FieldRuleNotFoundException));
  }

  return FieldRuleNotFoundException;
}(Exception);

module.exports = FieldRuleNotFoundException;
//# sourceMappingURL=FieldRuleNotFoundException.js.map
