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

Go API

Go documentation

tmux.CommandError.Is

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

View as Markdown

Module
tmux
Declared in
CommandError
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/command.go
Is ( target : error ) → bool
method [source]
method [source]
Is

Is reports ErrNoServer for a failure that means no tmux server answered — either the command never reached one, or the one it reached is gone — and ErrNotFound for one tmux refused because the object it named was absent.

Discussed in Errors and exceptions

0 declared, 0 inherited

Esc

Type to search.