不要怂,就是干,撸起袖子干!

Commit 2d844bea by David Pate

Fixed errors calling themselves 🤦

1 parent 6a05659c
Showing with 5 additions and 5 deletions
...@@ -222,7 +222,7 @@ util.inherits(error.ConnectionRefusedError, error.ConnectionError); ...@@ -222,7 +222,7 @@ util.inherits(error.ConnectionRefusedError, error.ConnectionError);
* @constructor * @constructor
*/ */
error.AccessDeniedError = function (parent) { error.AccessDeniedError = function (parent) {
error.AccessDeniedError.call(this, parent); error.ConnectionError.call(this, parent);
this.name = 'SequelizeAccessDeniedError'; this.name = 'SequelizeAccessDeniedError';
}; };
util.inherits(error.AccessDeniedError, error.ConnectionError); util.inherits(error.AccessDeniedError, error.ConnectionError);
...@@ -233,7 +233,7 @@ util.inherits(error.AccessDeniedError, error.ConnectionError); ...@@ -233,7 +233,7 @@ util.inherits(error.AccessDeniedError, error.ConnectionError);
* @constructor * @constructor
*/ */
error.HostNotFoundError = function (parent) { error.HostNotFoundError = function (parent) {
error.HostNotFoundError.call(this, parent); error.ConnectionError.call(this, parent);
this.name = 'SequelizeHostNotFoundError'; this.name = 'SequelizeHostNotFoundError';
}; };
util.inherits(error.HostNotFoundError, error.ConnectionError); util.inherits(error.HostNotFoundError, error.ConnectionError);
...@@ -244,7 +244,7 @@ util.inherits(error.HostNotFoundError, error.ConnectionError); ...@@ -244,7 +244,7 @@ util.inherits(error.HostNotFoundError, error.ConnectionError);
* @constructor * @constructor
*/ */
error.HostNotReachableError = function (parent) { error.HostNotReachableError = function (parent) {
error.HostNotReachableError.call(this, parent); error.ConnectionError.call(this, parent);
this.name = 'SequelizeHostNotReachableError'; this.name = 'SequelizeHostNotReachableError';
}; };
util.inherits(error.HostNotReachableError, error.ConnectionError); util.inherits(error.HostNotReachableError, error.ConnectionError);
...@@ -255,7 +255,7 @@ util.inherits(error.HostNotReachableError, error.ConnectionError); ...@@ -255,7 +255,7 @@ util.inherits(error.HostNotReachableError, error.ConnectionError);
* @constructor * @constructor
*/ */
error.InvalidConnectionError = function (parent) { error.InvalidConnectionError = function (parent) {
error.InvalidConnectionError.call(this, parent); error.ConnectionError.call(this, parent);
this.name = 'SequelizeInvalidConnectionError'; this.name = 'SequelizeInvalidConnectionError';
}; };
util.inherits(error.InvalidConnectionError, error.ConnectionError); util.inherits(error.InvalidConnectionError, error.ConnectionError);
...@@ -266,7 +266,7 @@ util.inherits(error.InvalidConnectionError, error.ConnectionError); ...@@ -266,7 +266,7 @@ util.inherits(error.InvalidConnectionError, error.ConnectionError);
* @constructor * @constructor
*/ */
error.ConnectionTimedOutError = function (parent) { error.ConnectionTimedOutError = function (parent) {
error.ConnectionTimedOutError.call(this, parent); error.ConnectionError.call(this, parent);
this.name = 'SequelizeConnectionTimedOutError'; this.name = 'SequelizeConnectionTimedOutError';
}; };
util.inherits(error.ConnectionTimedOutError, error.ConnectionError); util.inherits(error.ConnectionTimedOutError, error.ConnectionError);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!