# `Ash.Error.Query.NoSuchFunction`
[🔗](https://github.com/ash-project/ash/blob/v3.24.7/lib/ash/error/query/no_such_function.ex#L5)

Used when an function that doesn't exist is used in a query

# `exception`

```elixir
@spec exception(opts :: Keyword.t()) :: %Ash.Error.Query.NoSuchFunction{
  __exception__: true,
  arity: term(),
  bread_crumbs: term(),
  class: term(),
  could_be_calculation?: term(),
  function: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}
```

Create an `Elixir.Ash.Error.Query.NoSuchFunction` without raising it.

## Keys

- :function
- :arity
- :resource
- :could_be_calculation?

---

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