# TmuxError.commandFailed(command:exitCode:reason:)

- **Module:** TmuxError
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** constant
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/TmuxError.swift#L26
- **Page:** https://libtmux.org/en/swift/latest/reference/tmuxerror-commandfailed(command-exitcode-reason-)/

tmux received a typed command but rejected it.

Only the command name is retained; arguments may contain pane text,
environment values, or other caller data that does not belong in an error.
