Http module

conflict

procedureextensionexperimentalSource

An Http_Error with status 409, for when the request clashes with the current state, such as a duplicate. format and args make the detail text as tprint does, in the temporary allocator.

Example
error := conflict("% already exists", "ada");
assert(error.status == 409);

Doesn't run in the browser (skipped on wasm).

conflict :: (format := "", args: ..Any) -> Http_Error

Parameters

format := ""
args: ..Any

Returns

See also