Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

struct libtmux-go latest

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.

Source and package
Qualified name
tmux.TargetError
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/target.go
struct tmux.TargetError

Fields2#

TargetError fields
NameTypeDescription
Object string Object names the tmux object kind whose target was validated.
Target string Target is the submitted target text.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes TargetError compatible with ErrInvalidTarget.
Esc

Type to search.

Reference previewOpen reference