DS.Model#isError

isError{Boolean}

Defined in addon/-private/system/model/model.js:244

If true the adapter reported that it was unable to save local changes to the backend for any reason other than a server-side validation error.

Example

record.get('isError'); // false
record.set('foo', 'valid value');
record.save().then(null, function() {
  record.get('isError'); // true
});
doc_EmberJs
2016-11-30 16:50:10
Comments
Leave a Comment

Please login to continue.