Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.PlanError

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

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

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

Type to search.