TmuxProtocolException
Reports an answer from tmux this library could not read.
Source and package
- Module
- 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.
Members2 members#
Other members2 members#
- Payload property Gets what tmux sent that could not be read.
- TmuxProtocolException method Initializes the exception for an unreadable answer.