Files
FloatApi/node_modules/sequelize/lib/errors/association-error.js
T
2022-03-07 22:07:57 +07:00

17 lines
377 B
JavaScript

'use strict';
const BaseError = require('./base-error');
/**
* Thrown when an association is improperly constructed (see message for details)
*/
class AssociationError extends BaseError {
constructor(message) {
super(message);
this.name = 'SequelizeAssociationError';
Error.captureStackTrace(this, this.constructor);
}
}
module.exports = AssociationError;