VersionTooLowError
VersionTooLowError reports the installed and required tmux feature levels. It matches ErrVersionTooLow through errors.Is; callers can recover its fields with errors.As.
Source and package
- Qualified name
-
tmux.Version Too Low Error - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_version.go
-
Description#
A version that names no release, such as a bare "master" or a distributor's suffix, is refused the same way, and its message says so instead of comparing it with the floor.
Subcommand and Feature are set when one optional capability within a command was refused rather than the command itself, which is what
UnsupportedPolicygoverns.
Fields4#
| Name | Type | Description |
|---|---|---|
| Current | Version | Current is the installed tmux feature level. |
| Feature | string | Feature names the refused optional capability. Empty when the command itself is below its floor. |
| Minimum | Version | Minimum is the requested minimum feature level. |
| Subcommand | string | Subcommand names the tmux subcommand whose optional capability was refused. Empty when the command itself is below its floor. |