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

FromEnvError

FromEnvError reports which tmux discovery variable was missing or malformed. It never retains or prints the variable's value.

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

Fields2#

FromEnvError fields
NameTypeDescription
Reason string Reason describes why the variable cannot identify a tmux resource.
Variable string Variable is the discovery variable name, never its value.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes FromEnvError compatible with ErrNotInsideTmux.

Guides#

Pages that discuss FromEnvError.

Esc

Type to search.

Reference previewOpen reference