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.

Rust API

constant libtmux-rs latest

Error.ServerGone

The tmux server the command needed was not there.

Source and package
Qualified name
libtmux::error::Error::ServerGone
Module
error
Declared in
Error
Package
libtmux
Source
crates/libtmux/src/error.rs
ServerGone { command: &'static str, kind: ServerGoneKind, }

Description#

tmux exits 1 for this and for a command it refused, and separates them only in stderr, so this is read from the message rather than the status. ServerGoneKind says which way it was missing; the raw stderr remains available only through crate::Server::cmd().

Fields2#

ServerGone fields
NameTypeDescription
command &'static str The tmux command that found no server.
kind ServerGoneKind Which way the server was not there.
Esc

Type to search.

Reference previewOpen reference