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

Used when a domain that has `require_actor? true` is provided no actor

# `exception`

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

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

## Keys

- :domain

---

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