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

Go API

Go documentation

tmux.ServerCommandRequestError

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
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_exec.go
struct tmux.ServerCommandRequestError
struct [source]
struct [source]
struct tmux.ServerCommandRequestError

ServerCommandRequestError reports a locally rejected server command request field. Callers can use errors.Is with ErrInvalidServerCommandRequest or errors.As to inspect it. Value is redacted only when that field's validator requests redaction.

6 declared, 0 inherited

Members

  • Error method Error implements error.
  • Field attribute Field is the request field that was rejected.
  • Reason attribute Reason describes the validation failure without changing the sentinel error.
  • Subcommand attribute Subcommand is the tmux command whose request was rejected.
  • Unwrap method Unwrap makes ServerCommandRequestError compatible with ErrInvalidServerCommandRequest.
  • Value attribute Value is the rejected value, or "redacted" for a secret-sensitive field.
Esc

Type to search.