This commit is contained in:
爱喝水的木子
2026-03-02 15:35:39 +08:00
commit 00b48da363
1590 changed files with 285117 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
'use strict';
const MongooseError = require('./mongooseError');
/**
* createCollections Error constructor
*
* @param {String} message
* @param {String} errorsMap
* @inherits MongooseError
* @api private
*/
class CreateCollectionsError extends MongooseError {
constructor(message, errorsMap) {
super(message);
this.errors = errorsMap;
}
}
Object.defineProperty(CreateCollectionsError.prototype, 'name', {
value: 'CreateCollectionsError'
});
module.exports = CreateCollectionsError;