# error.Error.OptionRejected

- **Module:** error.Error
- **Package:** libtmux
- **Language:** Rust
- **Kind:** constant
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/error.rs#L479
- **Page:** https://libtmux.org/en/rs/latest/reference/error-error-optionrejected/

tmux would not accept an option name or value.

Classified because the three answers call for different fixes: an
unknown name is a typo, an ambiguous one needs more of the name, and a
rejected value needs a different value. A caller reading stderr would
have to know that tmux says "bad value" for a flag and "value is
invalid" for a number.
