# `Ash.Error.Forbidden.DomainRequiresAuthorization`
[🔗](https://github.com/ash-project/ash/blob/v3.19.3/lib/ash/error/forbidden/domain_requires_authorization.ex#L5)

Used when a domain that has `authorize :always` is provided authorize?: false

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) ::
  %Ash.Error.Forbidden.DomainRequiresAuthorization{
    __exception__: true,
    bread_crumbs: term(),
    class: term(),
    domain: term(),
    path: term(),
    splode: term(),
    stacktrace: term(),
    vars: term()
  }
```

Create an `Elixir.Ash.Error.Forbidden.DomainRequiresAuthorization` without raising it.

## Keys

- :domain

---

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