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

Raised in cases where access to a specific field was prevented

# `exception`

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

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

## Keys

- :resource
- :field

---

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