# `Ash.Error.Action.InvalidArgument`
[🔗](https://github.com/ash-project/ash/blob/v3.27.8/lib/ash/error/action/invalid_argument.ex#L5)

Used when an invalid value is provided for an action argument

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Ash.Error.Action.InvalidArgument{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  field: term(),
  message: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  value: term(),
  vars: term()
}
```

Create an `Elixir.Ash.Error.Action.InvalidArgument` without raising it.

## Keys

- :field
- :message
- :value

---

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