# errors.QueryValidationReason

- **Module:** errors
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-ts/blob/46cccfef2a546de55ce8b308249b8c76339089a0/packages/libtmux/src/errors.ts#L420
- **Page:** https://libtmux.org/en/ts/latest/reference/errors-queryvalidationreason/

```ts
type QueryValidationReason = "invalid-id" | "invalid-query"
```

Which half of a lookup was malformed: the id, or the criteria around it.
