# `Redix.Error`
[🔗](https://github.com/whatyouhide/redix/blob/v1.8.0/lib/redix/exceptions.ex#L1)

Error returned by Redis.

This exception represents semantic errors returned by Redis: for example,
non-existing commands or operations on keys with the wrong type (`INCR
not_an_integer`).

# `t`

```elixir
@type t() :: %Redix.Error{__exception__: true, message: binary()}
```

The type for this exception struct.

---

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