Merge pull request #1175 from BostjanPisler/patch-1
Fixed example for creating ValidationError
This commit is contained in:
commit
dd92b8d7e8
|
@ -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);
|
||||
* }
|
||||
* ```
|
||||
|
|
Loading…
Reference in New Issue