Mongoose MongoDB Errors Plugin
JSON →Converts MongoDB duplicate key errors (error code 11000) into Mongoose ValidationError instances. This plugin leverages Mongoose's error handling middleware introduced in Mongoose 4.5. It is an unmaintained, early-stage plugin with limited functionality—only duplicate key errors are transformed. The current version 0.0.2 is stable but minimal, with no recent updates. Compared to alternatives like mongoose-unique-validator, this plugin integrates as a Mongoose plugin but lacks active development and broader error coverage.
Resources
packagemongoose-mongodb-errors ↗
API endpoints
full doc /v1/registry/mongoose-mongodb-errors