# errors.TmuxObjectNotFoundError.constructor

- **Module:** errors
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/errors.ts#L342
- **Page:** https://libtmux.org/en/ts/latest/reference/errors-tmuxobjectnotfounderror-constructor/

```
constructor(
  options: {
    readonly list_cmd?: string;
    readonly list_extra_args?: readonly string[];
    readonly message?: string;
    readonly obj_id?: string;
    readonly obj_key?: string;
  } = {},
)
```

## Parameters

- `options` (`{   readonly list_cmd?: string;   readonly list_extra_args?: readonly string[];   readonly message?: string;   readonly obj_id?: string;   readonly obj_key?: string; }`): - `message`: Replaces the message built from the listing, for an object no listing names.
  Default: `{}`.
