# error.Error.CommandFailed

- **Module:** error.Error
- **Package:** libtmux
- **Language:** Rust
- **Kind:** constant
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/error.rs#L958
- **Page:** https://libtmux.org/en/rs/latest/reference/error-error-commandfailed/

tmux rejected a command that the crate requires to succeed.

The raw [`crate::Server::cmd`] boundary keeps a nonzero status as data.
This variant is for operations whose whole purpose is the effect, so a
refusal is a failure rather than a result.
