connection-acquire-timeout-error.js 357 B

123456789101112131415
  1. 'use strict';
  2. const ConnectionError = require('./../connection-error');
  3. /**
  4. * Thrown when connection is not acquired due to timeout
  5. */
  6. class ConnectionAcquireTimeoutError extends ConnectionError {
  7. constructor(parent) {
  8. super(parent);
  9. this.name = 'SequelizeConnectionAcquireTimeoutError';
  10. }
  11. }
  12. module.exports = ConnectionAcquireTimeoutError;