# tmux.VersionQueryError

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