I hardly understand that error 11000 is about conflict that exists.
Error 11001 I can not figure out I have this code
if(error.code === 11000 || error.code === 11001){
var apiError = new ApiErrors.ValidationError(error.errmsg || 'There was
a duplicate key error', 409);
next(apiError);
}
what would be your difference?