TmuxUnsupportedOnReleaseException
Reports a command or feature that is unsafe or unavailable on the running tmux release.
Source and package
- Qualified name
-
LibTmux. Tmux Unsupported On Release Exception - Namespace
- LibTmux
- Package
- LibTmux
- Source
- src/LibTmux/Exceptions/TmuxUnsupportedOnReleaseException.cs
-
Description#
Every refusal for a release reason raises this type or a subclass, so one catch block covers a release that lacks a feature, a release that crashes on a form, and a release that rejects an input other releases accept.
TmuxVersionTooLowExceptionis the subclass for a plain release floor. A typed call that leaves a flag out on an older release, such asServer.RefreshClientAsyncdropping-l, skips the flag and raises nothing.The library decides a refusal before anything is sent, so the exceptions it raises carry
TmuxDispatchState.NotDispatchedinDispatch, and sending the command again on the same release repeats the refusal. An input that is invalid on every release is not this type; it is anArgumentException.
Properties4#
| Name | Type | Description |
|---|---|---|
| ActualVersion | Tmux | Gets the running tmux release. |
| CapabilityId | string? | Gets the capability or workaround id in capabilities.json, or null when none covers the refusal. |
| Command | string? | Gets the refused tmux command, or null when the refusal is not about one command. |
| SafeReleases | string | Gets the releases where the command is safe, such as 3.4 or newer. |
Members1#
- TmuxUnsupportedOnReleaseException method Initializes a release refusal.