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

connection-timed-out-error.js 387 Bytes
'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;