不要怂,就是干,撸起袖子干!

sequelize-scope-error.js 369 Bytes
'use strict';

const BaseError = require('./base-error');

/**
 * Scope Error. Thrown when the sequelize cannot query the specified scope.
 */
class SequelizeScopeError extends BaseError {
  constructor(parent) {
    super(parent);
    this.name = 'SequelizeScopeError';
    Error.captureStackTrace(this, this.constructor);
  }
}

module.exports = SequelizeScopeError;