Estructura inicial del proyecto

This commit is contained in:
2026-06-02 16:57:08 +00:00
commit 8b306b9afc
9864 changed files with 1435687 additions and 0 deletions

35
backend/node_modules/mongoose/lib/error/strict.js generated vendored Normal file
View File

@ -0,0 +1,35 @@
/*!
* Module dependencies.
*/
'use strict';
const MongooseError = require('./mongooseError');
/**
* Strict mode error constructor
*
* @param {string} path
* @param {string} [msg]
* @param {boolean} [immutable]
* @inherits MongooseError
* @api private
*/
class StrictModeError extends MongooseError {
constructor(path, msg, immutable) {
msg = msg || 'Field `' + path + '` is not in schema and strict ' +
'mode is set to throw.';
super(msg);
this.isImmutableError = !!immutable;
this.path = path;
}
}
Object.defineProperty(StrictModeError.prototype, 'name', {
value: 'StrictModeError'
});
module.exports = StrictModeError;