StepOutcome.refusal
Why tmux refused this invocation, in the crate's error vocabulary.
Source and package
- Qualified name
-
libtmux::plan:: run:: Step Outcome:: refusal - Module
- plan.run
- Declared in
StepOutcome- Package
- libtmux
- Source
- crates/libtmux/src/plan/run.rs
-
Description#
A refusal is data rather than an error here, because a plan may expect one. Without sensitive input, this classifies it the same way a direct call would, so a caller can match on
Error::SessionExistsrather than racing another session creation. A sensitive invocation reportsError::CommandFailedand withholds tmux output.Nonewhen the invocation succeeded.