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.

Rust API

constant libtmux-rs latest

Error.OptionRejected

tmux would not accept an option name or value.

Source and package
Qualified name
libtmux::error::Error::OptionRejected
Module
error
Declared in
Error
Package
libtmux
Source
crates/libtmux/src/error.rs
OptionRejected { kind: OptionErrorKind, detail: String, }

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#

OptionRejected fields
NameTypeDescription
kind OptionErrorKind Which of the three answers tmux gave.
detail String The option name tmux could not resolve or whose value it rejected.
Esc

Type to search.

Reference previewOpen reference