# `Antd.ConflictError`
[🔗](https://gitlab.com/autonomi/ant-sdk/-/tree/main/antd-elixir/blob/main/lib/antd/errors.ex#L93)

The request conflicts with the resource's current state (HTTP 409 with
`code: "CONFLICT"`; gRPC `ABORTED` tagged `x-antd-error-code: CONFLICT`).

For pointers, two cases share this code, and it does not say which one
happened or whether anything was paid:

  * a write while a prepared write to the same pointer awaits payment is
    refused before paying (finalize the prepared write, or wait for it to
    expire);
  * an update that lost to a newer state while it was in flight may already
    have been paid for.

Read the pointer again and check what was paid before submitting another
paid write.

# `t`

```elixir
@type t() :: %Antd.ConflictError{
  __exception__: true,
  message: String.t(),
  status_code: integer()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
