LibTmuxException
The root of every operational failure this library raises.
Source and package
- Qualified name
-
io.github .libtmux .exception. Lib Tmux Exception - Package
- io.github.libtmux.exception
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/exception/LibTmuxException.java
-
Description
Unchecked, because a tmux failure can arise from any call and forcing every caller to declare it would say nothing. Sealed, with every branch abstract, so matching on the permitted subtypes is exhaustive in Java, Kotlin and Scala alike.
A failure that came from a tmux command carries that command, its exit status when it has one, and the error lines tmux printed. Those lines, and the message that quotes them, name what tmux named — sessions, windows, panes and buffers included.
Members4 members
- command The command that failed, when this failure came from one.
- errorLines The error lines tmux printed, in full. Empty when this failure has none.
- exitCode The process exit status, when the failure has one.
- LibTmuxException
Guides
task materialPages that discuss LibTmuxException.
- Guides
- Topics