17 lines
430 B
JavaScript
17 lines
430 B
JavaScript
'use strict';
|
|
|
|
const ConnectionError = require('./../connection-error');
|
|
|
|
/**
|
|
* Thrown when a connection to a database has invalid values for any of the connection parameters
|
|
*/
|
|
class InvalidConnectionError extends ConnectionError {
|
|
constructor(parent) {
|
|
super(parent);
|
|
this.name = 'SequelizeInvalidConnectionError';
|
|
Error.captureStackTrace(this, this.constructor);
|
|
}
|
|
}
|
|
|
|
module.exports = InvalidConnectionError;
|