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

libtmux.exc.TmuxObjectDoesNotExist

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
libtmux.exc
Package
libtmux
Source
src/libtmux/exc.py
class libtmux.exc.TmuxObjectDoesNotExist
class [source]
class [source]
class libtmux.exc.TmuxObjectDoesNotExist

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

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')"

1 declared, 1 inherited

Members

Inherited members

Reached through libtmux.exc.LibTmuxException.

  • __str__ libtmux.exc.LibTmuxException Render with optional "<subcommand>: …" prefix.
Esc

Type to search.