# errors.MultipleObjectsError

- **Module:** errors
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/errors.ts#L267
- **Page:** https://libtmux.org/en/ts/latest/reference/errors-multipleobjectserror/

A lookup that required one object found several.

`count` is how many, when the lookup counted them. Distinct from
{@link ObjectNotFoundError} because the two want opposite fixes: this one
needs narrower criteria, that one needs wider.

## Members

- `code` (attribute)
- `count` (attribute)
- `query` (attribute)
- `constructor` (method)
