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

errors.TmuxCommandError

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

View as Markdown

Module
errors
Package
libtmux
Source
packages/libtmux/src/errors.ts
class errors.TmuxCommandError
class [source]
class [source]
class errors.TmuxCommandError

A tmux command that exited non-zero.

The parts are fields rather than a formatted sentence so callers can branch on them. Matching a message substring is the failure mode this replaces: it breaks silently when tmux rewords, and it cannot distinguish "already in the requested state" from a genuine error.

Discussed in Errors and exceptions

8 declared, 0 inherited

Members

Esc

Type to search.