libtmux Reference MCP Search
On this page

tmux.PlanError

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/plan.go
struct tmux.PlanError
struct [source]
struct [source]
struct 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.

4 declared, 0 inherited

Members

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

Type to search.