File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ object.save(function (err, doc) {
175175 const error = mongooseErrorHandler (err);
176176 console .log (error);
177177 /**
178- * Error [MongooseValidatorError]: "name" is already exists
178+ * Error [MongooseValidatorError]: "name" already exists
179179 * name: 'MongooseValidatorError',
180180 * path: 'name',
181181 * kind: 'unique',
@@ -262,7 +262,7 @@ app.listen(3000)
262262| regexp | ` path ` , ` value ` , ` regexp ` | {path} format is invalid | match |
263263| required | ` path ` , ` value ` | {path} is required | required |
264264| string | ` path ` , ` value ` | {path} must be a string | type |
265- | unique | ` path ` , ` value ` | "{path}" is already exists | unique |
265+ | unique | ` path ` , ` value ` | "{path}" already exists | unique |
266266| validate | ` path ` , ` value ` , ` enumValues ` | {path} is invalid | validate |
267267
268268### paths
You can’t perform that action at this time.
0 commit comments