# `Trogon.Commanded.ConsistencyPolicy.TimeoutError`
[🔗](https://github.com/straw-hat-team/beam-monorepo/blob/trogon_commanded@v1.0.1/apps/trogon_commanded/lib/trogon/commanded/consistency_policy/timeout_error.ex#L1)

Consistency check timed out waiting for the required version.

# `attempts`

```elixir
@type attempts() :: non_neg_integer()
```

Number of query attempts made.

# `elapsed_ms`

```elixir
@type elapsed_ms() :: pos_integer()
```

Time spent retrying before timeout, in milliseconds.

# `policy`

```elixir
@type policy() ::
  Trogon.Commanded.ConsistencyPolicy.MinVersionPolicy.t()
  | Trogon.Commanded.ConsistencyPolicy.ExactVersionPolicy.t()
```

Policy that timed out.

# `t`

```elixir
@type t() :: %Trogon.Commanded.ConsistencyPolicy.TimeoutError{
  __exception__: term(),
  attempts: attempts(),
  elapsed_ms: elapsed_ms(),
  policy: policy()
}
```

Raised when the consistency check times out.

---

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