On this page
tmux.ServerCommandRequestError
- Module
- tmux
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_exec.go
-
ServerCommandRequestError reports a locally rejected server command request field. Callers can use
errors.IswithErrInvalidServerCommandRequestorerrors.Asto 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.