# io.github.libtmux.exception.LibTmuxException

- **Module:** io.github.libtmux.exception
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux/src/main/java/io/github/libtmux/exception/LibTmuxException.java#L20
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-exception-libtmuxexception-libtmuxexception/

The root of every operational failure this library raises.

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.

## Members

### Other 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)
