# errors.TmuxObjectNotFoundError

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

A tmux object named by id was not in the list tmux returned.

Carries the listing command that was run, so the message can say what was
searched rather than only what was not found.

## Members

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