Models
AJAX Abstraction for a Single Resource
AJAX Abstraction for a Single Resource
The validationError property is used to store and retrieve any validation error that occured, assuming you defined a validate() method.
The default implementation looks like this:
validationError: null,
To see how validationError is used, see the example in the validate() documentation which you can find here.