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.

struct libtmux-go latest

ControlProtocolError

ControlProtocolError reports a control-stream state violation without retaining or disclosing command output or notification contents. It matches ErrControlProtocol through errors.Is.

Source and package
Qualified name
tmux.ControlProtocolError
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/control_protocol.go
struct tmux.ControlProtocolError

Fields2#

ControlProtocolError fields
NameTypeDescription
Reason string Reason describes the structural violation without quoting input.
State string State is the parser state in which the violation occurred.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes ControlProtocolError compatible with ErrControlProtocol.
Esc

Type to search.

Reference previewOpen reference