123456789101112131415 |
- '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;
|