You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
485 B

/*!
* Module dependencies.
*/
var MongooseError = require('../error');
/**
* Version Error constructor.
*
* @inherits MongooseError
* @api private
*/
function VersionError () {
MongooseError.call(this, 'No matching document found.');
Error.captureStackTrace(this, arguments.callee);
this.name = 'VersionError';
};
/*!
* Inherits from MongooseError.
*/
VersionError.prototype.__proto__ = MongooseError.prototype;
/*!
* exports
*/
module.exports = VersionError;