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

errors.TmuxTransportError

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.TmuxTransportError
class [source]
class [source]
class errors.TmuxTransportError

A command did not complete, and this is how far it got.

The reason this is on the error rather than inferred from it: after a timeout, "did tmux run this?" has no default answer, and retrying a mutation that already applied is how one kill-session becomes two. not_started is the only status a caller may retry blindly.

Discussed in Errors and exceptions

9 declared, 0 inherited

Members

  • delivery attribute How far the command got before this failure.
  • code attribute
  • constructor method
  • kind attribute Which part of reaching tmux failed.
  • signal attribute The signal that ended the process, when one did.
  • stderr method Whatever tmux wrote to stderr before the failure, copied.
  • stdout method Whatever tmux wrote to stdout before the failure, copied.
  • #stderr attribute
  • #stdout attribute
Esc

Type to search.