isConflict()
function isConflict(error: unknown): boolean;
True when the request failed with a 409. The API uses this both for genuine conflicts and for a malformed id, so narrow with isMalformedId before reporting one as the other.
Parameters
| Parameter | Type |
|---|---|
error | unknown |
Returns
boolean