libtmux Reference MCP Search
On this page

tmux.TargetError

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/target.go
struct tmux.TargetError
struct [source]
struct [source]
struct tmux.TargetError

TargetError reports a malformed stable identifier before command execution. It matches ErrInvalidTarget through errors.Is; callers can recover Object and Target with errors.As.

4 declared, 0 inherited

Members

  • Object attribute Object names the tmux object kind whose target was validated.
  • Target attribute Target is the submitted target text.
  • Error method Error implements error.
  • Unwrap method Unwrap makes TargetError compatible with ErrInvalidTarget.
Esc

Type to search.