# `AshAuthzed.Error`
[🔗](https://github.com/boxxxie/ash_authzed/blob/v0.2.0/lib/ash_authzed/error.ex#L1)

Exception raised or returned when an `AshAuthzed` operation fails.

# `t`

```elixir
@type t() :: %AshAuthzed.Error{__exception__: true, details: term(), reason: atom()}
```

# `new`

```elixir
@spec new(atom(), term()) :: t()
```

---

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