# tmux.OptionValueError

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/option_error.go#L33
- **Page:** https://libtmux.org/reference/go/tmux-optionvalueerror/

OptionValueError reports a rejected typed option value without retaining or rendering that value. It matches [ErrInvalidOptionValue] and [ErrOption].

## Members

- `Name` (attribute) — Name is the safe, generated tmux option name.
- `Error` (method) — Error implements error without disclosing the attempted value.
- `Unwrap` (method) — Unwrap makes OptionValueError compatible with ErrInvalidOptionValue.
