Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux-dotnet latest

TmuxProtocolException

Namespace LibTmux.TmuxProtocolException LibTmux

Reports an answer from tmux this library could not read.

View as Markdown

Source and package
Module
LibTmux
Package
LibTmux
Source
src/LibTmux/Exceptions/TmuxProtocolException.cs
class LibTmux.TmuxProtocolException
class [source]

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 — and Dispatch says 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.
Esc

Type to search.