W3cubDocs

/Ember.js 4

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.

© 2022 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember-data/4.9/classes/ConflictError