Error.OptionRejected
tmux would not accept an option name or value.
Source and package
- Qualified name
-
libtmux::error:: Error:: Option Rejected - Module
- error
- Declared in
Error- Package
- libtmux
- Source
- crates/libtmux/src/error.rs
-
Description#
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.
Fields2#
| Name | Type | Description |
|---|---|---|
| kind | Option | Which of the three answers tmux gave. |
| detail | String | The option name tmux could not resolve or whose value it rejected. |