eager-loading-error.js 333 B

123456789101112131415
  1. 'use strict';
  2. const BaseError = require('./base-error');
  3. /**
  4. * Thrown when an include statement is improperly constructed (see message for details)
  5. */
  6. class EagerLoadingError extends BaseError {
  7. constructor(message) {
  8. super(message);
  9. this.name = 'SequelizeEagerLoadingError';
  10. }
  11. }
  12. module.exports = EagerLoadingError;