lib/errors/connection/connection-timed-out-error.js
'use strict';
const ConnectionError = require('./../connection-error');
/**
* Thrown when a connection to a database times out
*/
class ConnectionTimedOutError extends ConnectionError {
constructor(parent) {
super(parent);
this.name = 'SequelizeConnectionTimedOutError';
Error.captureStackTrace(this, this.constructor);
}
}
module.exports = ConnectionTimedOutError;