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

If the predicate is truthy, the provided exception is raised with the provided values.

This exception is not "raised" in the Elixir sense, but the entire expression fails to
evaluate with the given error. Various data layers will handle this differently.

# `args`

# `has_partial_evaluate?`

---

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