instance-error.js 320 B

123456789101112131415
  1. 'use strict';
  2. const BaseError = require('./base-error');
  3. /**
  4. * Thrown when a some problem occurred with Instance methods (see message for details)
  5. */
  6. class InstanceError extends BaseError {
  7. constructor(message) {
  8. super(message);
  9. this.name = 'SequelizeInstanceError';
  10. }
  11. }
  12. module.exports = InstanceError;