Fixed example for creating ValidationError
This commit is contained in:
parent
c8ade9e9d0
commit
93a739d612
|
@ -776,7 +776,7 @@ function ErrorCodes(messages) {
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* // This line shows how to create a ValidationError
|
* // This line shows how to create a ValidationError
|
||||||
* err = new ValidationError(model);
|
* var err = new MyModel.ValidationError(model);
|
||||||
* callback(err);
|
* callback(err);
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
|
|
Loading…
Reference in New Issue