Error.CapabilityDefective
tmux has this capability and the running release gets it wrong.
Source and package
- Qualified name
-
libtmux::error:: Error:: Capability Defective - Module
- error
- Declared in
Error- Package
- libtmux
- Source
- crates/libtmux/src/error.rs
- CapabilityDefective { capability: &'static str, found: Tmux
Version , broken_in : ReleaseVersion , fixed_in : ReleaseVersion , } -
Description#
Distinct from
Self::UnsupportedCapability, which means the release predates the feature and the answer is to upgrade. Here releases on both sides work, so neither "upgrade" nor "the floor is too low" is the fix: the caller has to leave a specific range.Raised rather than returning what the release reports, because what it reports is wrong in a way the caller cannot see.
Fields4#
| Name | Type | Description |
|---|---|---|
| capability | &'static str | What the caller asked for, named as a caller would say it. |
| found | Tmux | The release actually running. |
| broken_in | Release | The first release that gets it wrong. |
| fixed_in | Release | The first release that gets it right again. |