Merge pull request #1175 from BostjanPisler/patch-1

Fixed example for creating ValidationError
This commit is contained in:
Amirali Jafarian 2016-12-03 10:59:12 -05:00 committed by GitHub
commit dd92b8d7e8
1 changed files with 1 additions and 1 deletions

View File

@ -776,7 +776,7 @@ function ErrorCodes(messages) {
* }
*
* // This line shows how to create a ValidationError
* err = new ValidationError(model);
* var err = new MyModel.ValidationError(model);
* callback(err);
* }
* ```