TmuxProtocolException
Reports an answer from tmux this library could not read.
Source and package
- Qualified name
-
LibTmux. Tmux Protocol Exception - Namespace
- LibTmux
- Package
- LibTmux
- Source
- src/LibTmux/Exceptions/TmuxProtocolException.cs
-
Description
Distinct from
TmuxCommandException, which means tmux reported a failure it understood. This means tmux reported success, or sent an event, and the bytes did not decode into anything the library can use: a row missing a field it must have, a framed value that never ended, a control-mode block guard out of place. A caller cannot correct one of these by changing its arguments, so the useful response is to report it rather than retry it — andDispatchsays whether a retry would repeat a side effect anyway.
Members1 members
- TmuxProtocolException Initializes the exception for an unreadable answer.