Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

class libtmux latest

TmuxObjectDoesNotExist

tmux has no object with the id that was asked for.

Base types ObjectDoesNotExist
Source and package
Qualified name
libtmux.exc.TmuxObjectDoesNotExist
Module
libtmux.exc
Package
libtmux
Source
src/libtmux/exc.py
class libtmux.exc.TmuxObjectDoesNotExist

Examples#

>>> from libtmux import exc
>>> str(exc.TmuxObjectDoesNotExist())
'Could not find object'
>>> str(
... exc.TmuxObjectDoesNotExist(
... obj_key="pane_id",
... obj_id="%99",
... list_cmd="list-panes",
... list_extra_args=("-t", "%99"),
... )
... )
"Could not find pane_id=%99 for list-panes ('-t', '%99')"

Members1#

Inherited members1 member#

Reached through libtmux.exc.LibTmuxException.

Esc

Type to search.

Reference previewOpen reference