Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux stable

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 preview Open reference