ServerClosedException
A handle was used after the io.github.libtmux.Server it belongs to was closed.
Source and package
- Qualified name
-
io.github .libtmux .exception. Server Closed Exception - Package
- io.github.libtmux.exception
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/exception/ServerClosedException.java
-
Description
Programmer error, so deliberately outside
LibTmuxException's sealed tree: an exhaustive match over operational failures should not have to decide about a lifecycle bug.#outcome()says whether tmux may have run the call that raced the close.
Members2 members
- outcome
DispatchOutcome.NOT_DISPATCHEDwhen the server was closed before the call reached tmux,DispatchOutcome.UNKNOWNwhen a concurrent close ended a tmux already running it. - ServerClosedException
Guides
task materialPages that discuss ServerClosedException.