Exceptions#

libtmux exceptions.

libtmux.exc#

exception libtmux.exc.LibTmuxException[source]#

Base Exception for libtmux Errors.

exception libtmux.exc.TmuxSessionExists[source]#

Session does not exist in the server.

exception libtmux.exc.TmuxCommandNotFound[source]#

Application binary for tmux not found.

exception libtmux.exc.TmuxObjectDoesNotExist(obj_key=None, obj_id=None, list_cmd=None, list_extra_args=None, *args)[source]#

The query returned multiple objects when only one was expected.

exception libtmux.exc.VersionTooLow[source]#

Raised if tmux below the minimum version to use libtmux.

exception libtmux.exc.BadSessionName(reason, session_name=None, *args)[source]#

Disallowed session name for tmux (empty, contains periods or colons).

exception libtmux.exc.OptionError[source]#

Root error for any error involving invalid, ambiguous or bad options.

exception libtmux.exc.UnknownOption[source]#

Option unknown to tmux show-option(s) or show-window-option(s).

exception libtmux.exc.UnknownColorOption(*args)[source]#

Unknown color option.

exception libtmux.exc.InvalidOption[source]#

Option invalid to tmux, introduced in tmux v2.4.

exception libtmux.exc.AmbiguousOption[source]#

Option that could potentially match more than one.

exception libtmux.exc.WaitTimeout[source]#

Function timed out without meeting condition.

exception libtmux.exc.VariableUnpackingError(variable=None, *args)[source]#

Error unpacking variable.

exception libtmux.exc.PaneError[source]#

Any type of pane related error.

exception libtmux.exc.PaneNotFound(pane_id=None, *args)[source]#

Pane not found.

exception libtmux.exc.WindowError[source]#

Any type of window related error.

exception libtmux.exc.MultipleActiveWindows(count, *args)[source]#

Multiple active windows.

exception libtmux.exc.NoActiveWindow(*args)[source]#

No active window found.

exception libtmux.exc.NoWindowsExist(*args)[source]#

No windows exist for object.