libtmux Reference MCP Search
On this page

tmux.ServerCommandRequestError

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

  • 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.
  • Value attribute Value is the rejected value, or "redacted" for a secret-sensitive field.
  • Error method Error implements error.
  • Unwrap method Unwrap makes ServerCommandRequestError compatible with ErrInvalidServerCommandRequest.
Esc

Type to search.