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

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.

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

Fields2#

PlanError fields
NameTypeDescription
Reason string Reason describes what makes the plan unrunnable.
Step int Step is the zero-based index of the operation at fault.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes PlanError compatible with ErrPlan.
Esc

Type to search.

Reference previewOpen reference