Class Errors
Extends: | ArrayProxy |
---|---|
Uses: | Evented |
Defined in: | ../model/addon/-private/errors.js:13 |
Module: | @ember-data/store |
isEmpty
Module: | @ember-data/store |
---|
Defined in ../model/addon/-private/errors.js:192
length
Module: | @ember-data/store |
---|
Defined in ../model/addon/-private/errors.js:184
Total number of errors.
messages
Module: | @ember-data/store |
---|
Defined in ../model/addon/-private/errors.js:146
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/3.25/classes/Errors/properties