Skip to content

Documentation / @warp-drive/legacy / adapter/error / ConflictError

Class: ConflictError

Defined in: warp-drive-packages/legacy/src/adapter/error.js:323

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.

ConflictError

Properties

code

ts
code: string;

Defined in: warp-drive-packages/legacy/src/adapter/error.js:327

Released under the MIT License.