Class Errors
publicHolds validation errors for a given record, organized by attribute names.
This class is not directly instantiable.
Every Model
has an errors
property that is an instance of
Errors
. This can be used to display validation error
messages returned from the server when a record.save()
rejects.
For Example, if you had a User
model that looked like this:
```js {data-filename=app/models/user.js} import Model, { attr } from '@ember-data/model';
export default class UserModel extends Model {