Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

class libtmux-ts latest

TmuxCommandError

A tmux command that exited non-zero.

Source and package
Qualified name
TmuxCommandError
Module
errors
Package
libtmux
Source
packages/libtmux/src/errors.ts
class errors.TmuxCommandError

Description#

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.

Members8#

Guides#

Pages that discuss TmuxCommandError.

Esc

Type to search.

Reference previewOpen reference