# `Ash.Error.Changes.InvalidAttribute`
[🔗](https://github.com/ash-project/ash/blob/v3.23.1/lib/ash/error/changes/invalid_attribute.ex#L5)

Used when an invalid value is provided for an attribute change

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Ash.Error.Changes.InvalidAttribute{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  field: term(),
  has_value?: term(),
  message: term(),
  path: term(),
  private_vars: term(),
  splode: term(),
  stacktrace: term(),
  value: term(),
  vars: term()
}
```

Create an `Elixir.Ash.Error.Changes.InvalidAttribute` without raising it.

## Keys

- :field
- :message
- :private_vars
- :value
- :has_value?

---

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