# query.FilterExpressionErrorKind

- **Module:** query
- **Package:** libtmux
- **Language:** Rust
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/query.rs#L633
- **Page:** https://libtmux.org/en/rs/latest/reference/query-filterexpressionerrorkind/

The category of an invalid portable filter expression.

Callers must retain a wildcard arm because future schema versions may add
more source-less validation categories.

## Example

```rust
use libtmux::query::FilterExpressionErrorKind;

let kind = FilterExpressionErrorKind::InvalidRegex;
assert_eq!(kind, FilterExpressionErrorKind::InvalidRegex);
```

## Members

- `InvalidRegex` (constant): A regular expression did not compile under the version 1 dialect.
- `UnsupportedVersion` (constant): The serialized expression schema version is unsupported.
- `InvalidTarget` (constant): The expression target does not match the requested candidate type.
- `UnknownField` (constant): The candidate schema has no field with the requested stable name.
- `UnknownOperator` (constant): The field type does not support the requested operator.
- `UnknownQuantifier` (constant): A relation does not support the requested quantifier.
- `InvalidLiteral` (constant): A literal cannot be represented by the field type.
- `ComplexityLimit` (constant): The serialized expression exceeds a fixed decoder budget.
- `InvalidStructure` (constant): The expression tree has an invalid shape.
