Documentation / @warp-drive/legacy / adapter/error / 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
class ConflictError(errors, message): void;
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
Parameters
errors
any
message
any
Returns
void
Properties
extend()
static extend: (__namedParameters) => {
(errors, message): void;
extend: ({ message: defaultMessage }?: {}) => { (errors: any, message: any): void; prototype: any; extend: any; };
prototype: any;
};
Defined in: warp-drive-packages/legacy/src/adapter/error.js:110
Parameters
__namedParameters
Returns
(errors, message): void;
Parameters
errors
any
message
any
Returns
void
extend
extend: ({ message: defaultMessage }?: {}) => { (errors: any, message: any): void; prototype: any; extend: any; };
prototype
prototype: any;