ControlNotificationError
ControlNotificationError reports where a control-mode notification failed validation without retaining or disclosing the notification contents. Callers can use errors.Is with Category or errors.As to inspect its secret-safe location metadata. Category is ErrMalformedControlNotification or ErrUnknownControlNotification.
Source and package
- Qualified name
-
tmux.Control Notification Error - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/control_notification.go
Fields3#
| Name | Type | Description |
|---|---|---|
| Category | error | Category is ErrMalformedControlNotification or ErrUnknownControlNotification. |
| Offset | int | Offset is the byte offset of the malformed protocol element. |
| Reason | string | Reason describes the framing or vocabulary error without retaining input. |