'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('.'));

/**
 * rules not set exception
 */

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

  function RulesNotSetException() {
    var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'validation rules not found';

    _classCallCheck(this, RulesNotSetException);

    return _possibleConstructorReturn(this, _getPrototypeOf(RulesNotSetException).call(this, message, RulesNotSetException));
  }

  return RulesNotSetException;
}(Exception);

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