Exceptions - tmuxp.exc

Exceptions for tmuxp.

exception tmuxp.exc.TmuxpException
exception[source]

Bases: Exception

Base Exception for Tmuxp Errors.

exception tmuxp.exc.WorkspaceError
exception[source]

Bases: TmuxpException

Error parsing tmuxp workspace data.

exception tmuxp.exc.SessionNotFound
exception[source]

Bases: TmuxpException

tmux session not found.

exception tmuxp.exc.WindowNotFound
exception[source]

Bases: TmuxpException

tmux window not found.

exception tmuxp.exc.PaneNotFound
exception[source]

Bases: TmuxpException

tmux pane not found.

exception tmuxp.exc.EmptyWorkspaceException
exception[source]

Bases: WorkspaceError

Workspace file is empty.

exception tmuxp.exc.SessionMissingWorkspaceException
exception[source]

Bases: WorkspaceError, ObjectDoesNotExist

Session missing while loading tmuxp workspace.

exception tmuxp.exc.ActiveSessionMissingWorkspaceException
exception[source]

Bases: WorkspaceError

Active session cannot be found while loading tmuxp workspace.

exception tmuxp.exc.TmuxpPluginException
exception[source]

Bases: TmuxpException

Base Exception for Tmuxp Errors.

exception tmuxp.exc.BeforeLoadScriptNotExists
exception[source]

Bases: OSError

Raises if shell script could not be found.

exception tmuxp.exc.BeforeLoadScriptError
exception[source]

Bases: Exception

Shell script execution error.

Replaces subprocess.CalledProcessError for tmuxp.util.run_before_script().