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

ColorError

ColorError reports an unsupported color mode. It matches ErrUnknownColor through errors.Is; callers can recover Mode with errors.As.

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

Fields1#

ColorError fields
NameTypeDescription
Mode ColorMode Mode is the rejected color-capability override.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes ColorError compatible with ErrUnknownColor.
Esc

Type to search.

Reference previewOpen reference