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

/**
 * state exception
 */

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

  /**
   *@param {string} message - error message
   */
  function StateException(message) {
    _classCallCheck(this, StateException);

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

  return StateException;
}(Exception);

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