Spaces:
Runtime error
Runtime error
Download static/node_modules/mongoose/lib/error/browserMissingSchema.js from kaab4321/NarrativeFlow: direct link, hf CLI and curl.
- Browser
- Download file 480 Bytes
-
https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/error/browserMissingSchema.js
- Command line
-
hf download hf://spaces/kaab4321/NarrativeFlow/static/node_modules/mongoose/lib/error/browserMissingSchema.js
-
curl -L -o browserMissingSchema.js https://huggingface.co/spaces/kaab4321/NarrativeFlow/resolve/main/static/node_modules/mongoose/lib/error/browserMissingSchema.js
480 Bytes
| /*! | |
| * Module dependencies. | |
| */ | |
| ; | |
| const MongooseError = require('./mongooseError'); | |
| class MissingSchemaError extends MongooseError { | |
| /** | |
| * MissingSchema Error constructor. | |
| */ | |
| constructor() { | |
| super('Schema hasn\'t been registered for document.\n' | |
| + 'Use mongoose.Document(name, schema)'); | |
| } | |
| } | |
| Object.defineProperty(MissingSchemaError.prototype, 'name', { | |
| value: 'MongooseError' | |
| }); | |
| /*! | |
| * exports | |
| */ | |
| module.exports = MissingSchemaError; | |