Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-dotnet

TmuxProtocolException

Reports an answer from tmux this library could not read.

Source and package
Qualified name
LibTmux.TmuxProtocolException
Namespace
LibTmux
Package
LibTmux
Source
src/LibTmux/Exceptions/TmuxProtocolException.cs
class LibTmux.TmuxProtocolException

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.

Properties1

TmuxProtocolException properties
NameTypeDescription
Payload string Gets what tmux sent that could not be read.

Members1 members

Esc
Search in

Type to search.

Reference previewOpen reference