LibTmuxException
The root of every operational failure this library raises.
Source and package
-
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.
Discussed in Execution · Errors and exceptions
Members4 members#
Other members4 members#
- command method The command that failed, when this failure came from one.
- errorLines method The error lines tmux printed, in full. Empty when this failure has none.
- exitCode method The process exit status, when the failure has one.
- LibTmuxException method