# error.Error.NoEffect

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

A creating command exited 0 without creating anything.

`tmux -S <dir>/missing/sock new-session ...` prints `error creating
<path> (No such file or directory)` on stderr and exits 0 with empty
stdout: exit 0 usually means the command ran, so this is its own
variant rather than [`Self::CommandFailed`], which would print the
exit code as `Some(0)` beside the word "rejected" -- a contradiction
-- and rather than [`Self::AfterEffect`], which would claim an
effect that never happened.
