# tmux.PlanError

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/plan.go#L19
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-planerror/

PlanError reports a plan this package refused before sending anything to tmux. It matches [ErrPlan] through errors.Is; callers can recover Step and Reason with errors.As.

## Members

- `Step` (attribute): Step is the zero-based index of the operation at fault.
- `Reason` (attribute): Reason describes what makes the plan unrunnable.
- `Error` (method): Error implements error.
- `Unwrap` (method): Unwrap makes PlanError compatible with ErrPlan.
