Skip to content

Commit d7ae5f8

Browse files
committed
Update README.md
1 parent 723c5bc commit d7ae5f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)