Skip to main content

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​

ParameterType
errorunknown

Returns​

boolean