Spaces:
Runtime error
Runtime error
Download static/node_modules/mongoose/lib/error/parallelValidate.js from kaab4321/NarrativeFlow: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/error/parallelValidate.js
- Command line
-
hf download hf://spaces/kaab4321/NarrativeFlow/static/node_modules/mongoose/lib/error/parallelValidate.js
-
curl -L -o parallelValidate.js https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/error/parallelValidate.js
561 Bytes
| ; | |
| /*! | |
| * Module dependencies. | |
| */ | |
| const MongooseError = require('./mongooseError'); | |
| class ParallelValidateError extends MongooseError { | |
| /** | |
| * ParallelValidate Error constructor. | |
| * | |
| * @param {Document} doc | |
| * @api private | |
| */ | |
| constructor(doc) { | |
| const msg = 'Can\'t validate() the same doc multiple times in parallel. Document: '; | |
| super(msg + doc._id); | |
| } | |
| } | |
| Object.defineProperty(ParallelValidateError.prototype, 'name', { | |
| value: 'ParallelValidateError' | |
| }); | |
| /*! | |
| * exports | |
| */ | |
| module.exports = ParallelValidateError; | |