sequelize-scope-error.js 369 B

12345678910111213141516
  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. Error.captureStackTrace(this, this.constructor);
  11. }
  12. }
  13. module.exports = SequelizeScopeError;