Files
FloatApi/node_modules/sequelize/lib/errors/connection/host-not-reachable-error.js
T
2022-03-07 22:07:57 +07:00

17 lines
409 B
JavaScript

'use strict';
const ConnectionError = require('./../connection-error');
/**
* Thrown when a connection to a database has a hostname that was not reachable
*/
class HostNotReachableError extends ConnectionError {
constructor(parent) {
super(parent);
this.name = 'SequelizeHostNotReachableError';
Error.captureStackTrace(this, this.constructor);
}
}
module.exports = HostNotReachableError;