# tmux.TargetError

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

## 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.
