不要怂,就是干,撸起袖子干!

You need to sign in or sign up before continuing.
empty-result-error.js 397 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';
    Error.captureStackTrace(this, this.constructor);
  }
}

module.exports = EmptyResultError;