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.Server Command Request Error - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_exec.go
Fields4#
| Name | Type | Description |
|---|---|---|
| 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. |