Class DS.Errors

Ember.Enumerable
Extends: Ember.Object
Uses: Ember.Evented ,
Defined in: addon/-private/system/model/errors.js:14
Module: ember-data

isEmpty

Module: ember-data

length

Module: ember-data

Total number of errors.

messages

Module: ember-data

An array containing all of the error messages for this record. This is useful for displaying all errors to the user.

{{#each model.errors.messages as |message|}}
  <div class="error">
    {{message}}
  </div>
{{/each}}

© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember-data/2.18/classes/DS.Errors/properties