# `AshAuthentication.Errors.AuthenticationFailed`
[🔗](https://github.com/team-alembic/ash_authentication/blob/main/lib/ash_authentication/errors/authentication_failed.ex#L5)

A generic, authentication failed error.

# `t`

```elixir
@type t() :: Exception.t()
```

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) ::
  %AshAuthentication.Errors.AuthenticationFailed{
    __exception__: true,
    bread_crumbs: term(),
    caused_by: term(),
    changeset: term(),
    class: term(),
    field: term(),
    path: term(),
    query: term(),
    splode: term(),
    stacktrace: term(),
    strategy: term(),
    vars: term()
  }
```

Create an `Elixir.AshAuthentication.Errors.AuthenticationFailed` without raising it.

## Keys

- :caused_by
- :changeset
- :field
- :query
- :strategy

---

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