# `Nebulex.KeyAlreadyExistsError`
[🔗](https://github.com/elixir-nebulex/nebulex/blob/v2.6.6/lib/nebulex/exceptions.ex#L22)

Raised at runtime when a key already exists in cache.

# `t`

```elixir
@type t() :: %Nebulex.KeyAlreadyExistsError{
  __exception__: true,
  cache: atom(),
  key: term()
}
```

---

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