sequelize-scope-error.js 316 B

123456789101112131415
  1. 'use strict';
  2. const BaseError = require('./base-error');
  3. /**
  4. * Scope Error. Thrown when the sequelize cannot query the specified scope.
  5. */
  6. class SequelizeScopeError extends BaseError {
  7. constructor(parent) {
  8. super(parent);
  9. this.name = 'SequelizeScopeError';
  10. }
  11. }
  12. module.exports = SequelizeScopeError;