# errors.Query

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

```ts
type Query = Readonly<Record<string, unknown>>
```

The criteria a lookup was given, carried on the error it raised.

Kept as the caller wrote it rather than as a formatted sentence, so a
caller that built the criteria from a form or a config file can point at
the field that was wrong. The message renders it; this is the source.
