UNPKG

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