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

Go API

Go documentation

tmux.VersionQueryError

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

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_version.go
struct tmux.VersionQueryError
struct [source]
struct [source]
struct tmux.VersionQueryError

VersionQueryError reports an unsuccessful tmux -V 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.

4 declared, 0 inherited

Members

  • Error method Error implements error.
  • Reason attribute Reason describes a malformed successful probe result, when applicable.
  • Result attribute Result contains the library-created error's exit code and no diagnostics.
  • Unwrap method Unwrap makes VersionQueryError compatible with ErrVersionQuery.
Esc

Type to search.