query-error.js 299 B

123456789101112131415
  1. 'use strict';
  2. const BaseError = require('./base-error');
  3. /**
  4. * Thrown when a query is passed invalid options (see message for details)
  5. */
  6. class QueryError extends BaseError {
  7. constructor(message) {
  8. super(message);
  9. this.name = 'SequelizeQueryError';
  10. }
  11. }
  12. module.exports = QueryError;