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

Raised at runtime when the query is invalid.

# `t`

```elixir
@type t() :: %Nebulex.QueryError{
  __exception__: term(),
  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*
