# `JSONPath.Error`
[🔗](https://github.com/IgnacioGoldchluk/json_path/blob/main/lib/json_path/error.ex#L1)

Error value for invalid JSONPath queries

# `error_type`

```elixir
@type error_type() ::
  :invalid_expression
  | :unexpcected_argument
  | :unexpected_comparison
  | :invalid_number
  | :invalid_unicode
```

# `t`

```elixir
@type t() :: %JSONPath.Error{
  expression: binary(),
  message: binary(),
  type: error_type()
}
```

---

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