Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

command.CommandResult.refusal_for

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
command
Declared in
CommandResult
Package
libtmux
Source
crates/libtmux/src/command.rs
refusal_for ( self , operation : &'static str ) → Option<crate::Error>
method [source]
method [source]
refusal_for

Classify a nonzero status as a refusal for a named operation.

Use a fixed operation name without targets or argument values. The result keeps no original target, so classification uses only what tmux echoed in stderr. Sensitive command output is withheld from the returned error.

Returns None when the command succeeded.

0 declared, 0 inherited

Esc

Type to search.