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

Go API

Go documentation

tmux.VersionTooLowError

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.VersionTooLowError
struct [source]
struct [source]
struct tmux.VersionTooLowError

VersionTooLowError reports the installed and required tmux feature levels. It matches ErrVersionTooLow through errors.Is; callers can recover its fields with errors.As.

Subcommand and Feature are set when one optional capability within a command was refused rather than the command itself, which is what UnsupportedPolicy governs.

6 declared, 0 inherited

Members

  • Current attribute Current is the installed tmux feature level.
  • Error method Error implements error.
  • Feature attribute Feature names the refused optional capability. Empty when the command itself is below its floor.
  • Minimum attribute Minimum is the requested minimum feature level.
  • Subcommand attribute Subcommand names the tmux subcommand whose optional capability was refused. Empty when the command itself is below its floor.
  • Unwrap method Unwrap makes VersionTooLowError compatible with ErrVersionTooLow.
Esc

Type to search.