# `Ash.Error.Invalid.NoSuchInput`
[🔗](https://github.com/ash-project/ash/blob/v3.23.1/lib/ash/error/invalid/no_such_input.ex#L5)

Used when an input is provided to an action or calculation that is not accepted

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Ash.Error.Invalid.NoSuchInput{
  __exception__: true,
  action: term(),
  bread_crumbs: term(),
  calculation: term(),
  class: term(),
  did_you_mean: term(),
  input: term(),
  inputs: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.Ash.Error.Invalid.NoSuchInput` without raising it.

## Keys

- :calculation
- :resource
- :action
- :input
- :inputs
- :did_you_mean

---

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