# libtmux.exc.TmuxObjectDoesNotExist.__init__

- **Module:** libtmux.exc
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/exc.py#L289
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-exc-tmuxobjectdoesnotexist-__init__/

```
libtmux.exc.TmuxObjectDoesNotExist.__init__(
    self,
    obj_key: str | None = None,
    obj_id: str | None = None,
    list_cmd: str | None = None,
    list_extra_args: ListExtraArgs | None = None,
    args: object,
) -> None
```

## Parameters

- `obj_key` (`str | None`)
- `obj_id` (`str | None`)
- `list_cmd` (`str | None`)
- `list_extra_args` (`ListExtraArgs | None`)
- `args` (`object`)
