Class ConflictError
public| Extends: | AdapterError |
|---|---|
| Defined in: | ../packages/adapter/addon/error.js:323 |
| Module: | @ember-data/adapter/error |
A ConflictError equates to a HTTP 409 Conflict response status. It is used by an adapter to indicate that the request could not be processed because of a conflict in the request. An example scenario would be when creating a record with a client-generated ID but that ID is already known to the external API.