UNPKG

sequelize

Version:

Multi dialect ORM for Node.JS

17 lines (13 loc) 369 B
'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;