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

VersionQueryError

VersionQueryError reports an unsuccessful tmux version probe. It matches ErrVersionQuery through errors.Is; callers can recover its fields with errors.As. Library-created errors retain only the exit code; command arguments and output are omitted, although callers may construct values with other contents.

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

Fields2#

VersionQueryError fields
NameTypeDescription
Reason string Reason describes a malformed successful probe result, when applicable.
Result CommandResult Result contains the library-created error's exit code and no diagnostics.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes VersionQueryError compatible with ErrVersionQuery.
Esc

Type to search.

Reference previewOpen reference