Open tfogo opened 6 years ago
If Mongo responds with MongoError: E11000 duplicate key error, an error is thrown. Do we want to add something to MongoDBCollection to catch this and respond with a 409 (Conflict) error instead of a 500?
MongoError: E11000 duplicate key error
If Mongo responds with
MongoError: E11000 duplicate key error
, an error is thrown. Do we want to add something to MongoDBCollection to catch this and respond with a 409 (Conflict) error instead of a 500?