# `Ash.Error.Invalid.NoIdentityFound`
[🔗](https://github.com/ash-project/ash/blob/v3.25.2/lib/ash/error/invalid/no_identity_found.ex#L5)

Used when an identity name is used that does not reference identity on the resource

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Ash.Error.Invalid.NoIdentityFound{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  identity: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.Ash.Error.Invalid.NoIdentityFound` without raising it.

## Keys

- :resource
- :identity

---

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