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.

struct libtmux-go latest

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.

Source and package
Qualified name
tmux.ServerCommandRequestError
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_exec.go
struct tmux.ServerCommandRequestError

Fields4#

ServerCommandRequestError fields
NameTypeDescription
Field string Field is the request field that was rejected.
Reason string Reason describes the validation failure without changing the sentinel error.
Subcommand string Subcommand is the tmux command whose request was rejected.
Value string Value is the rejected value, or "redacted" for a secret-sensitive field.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes ServerCommandRequestError compatible with ErrInvalidServerCommandRequest.
Esc

Type to search.

Reference previewOpen reference