# `Nebulex.QueryError`
[🔗](https://github.com/elixir-nebulex/nebulex/blob/v3.0.3/lib/nebulex/exceptions.ex#L272)

Raised at runtime when the query is invalid.

# `t`

```elixir
@type t() :: %Nebulex.QueryError{__exception__: true, message: binary(), query: any()}
```

The type for this exception struct.

This exception has the following public fields:

  * `:message` - the error message.

  * `:query` - the query value.

---

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