Fixed example for creating ValidationError

This commit is contained in:
Boštjan Pišler 2016-11-29 16:04:53 +01:00 committed by GitHub
parent c8ade9e9d0
commit 93a739d612
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);
* }
* ```