# LibTmux.TmuxOptionException

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Exceptions/TmuxOptionException.cs#L9
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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.
