# LibTmux.TmuxOptionException

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Exceptions/TmuxOptionException.cs#L9
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxoptionexception/

Thrown when tmux refuses an option name or value.

tmux distinguishes unknown, invalid, and ambiguous options, and which one it
says depends on its version rather than on anything a caller did. They are
one failure here, carrying tmux's own wording and the name that caused it.

## Members

- `TmuxOptionException` (method) — Initializes the exception for one rejected option.
- `OptionName` (property) — Gets the option tmux was asked about.
