# tmux.VersionQueryError

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/server_version.go#L30
- **Page:** https://libtmux.org/reference/go/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.

## Members

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