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

LibTmux.TmuxProtocolException

.NET
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

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

Reports an answer from tmux this library could not read.

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.

2 declared, 0 inherited

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.