text: 'use strict';
  
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  
  function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
  
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
  
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
  
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
  
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
  
  const ConnectionError = require('./../connection-error');
  /**
   * Thrown when a connection to a database is refused due to insufficient privileges
   */
  
  
  let AccessDeniedError =
  /*#__PURE__*/
  function (_ConnectionError) {
    _inherits(AccessDeniedError, _ConnectionError);
  
    function AccessDeniedError(parent) {
      var _this;
  
      _classCallCheck(this, AccessDeniedError);
  
      _this = _possibleConstructorReturn(this, _getPrototypeOf(AccessDeniedError).call(this, parent));
      _this.name = 'SequelizeAccessDeniedError';
      Error.captureStackTrace(_assertThisInitialized(_this), _this.constructor);
      return _this;
    }
  
    return AccessDeniedError;
  }(ConnectionError);
  
  module.exports = AccessDeniedError;
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9lcnJvcnMvY29ubmVjdGlvbi9hY2Nlc3MtZGVuaWVkLWVycm9yLmpzIl0sIm5hbWVzIjpbIkNvbm5lY3Rpb25FcnJvciIsInJ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