empty-result-error.js
344 Bytes
'use strict';
const BaseError = require('./base-error');
/**
* Thrown when a record was not found, Usually used with rejectOnEmpty mode (see message for details)
*/
class EmptyResultError extends BaseError {
constructor(message) {
super(message);
this.name = 'SequelizeEmptyResultError';
}
}
module.exports = EmptyResultError;