# tmux.ControlNotificationError

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/control_notification.go#L26
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-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].

## Members

- `Offset` (attribute): Offset is the byte offset of the malformed protocol element.
- `Reason` (attribute): Reason describes the framing or vocabulary error without retaining input.
- `Category` (attribute): Category is ErrMalformedControlNotification or ErrUnknownControlNotification.
- `Error` (method): Error implements error.
- `Unwrap` (method): Unwrap makes ControlNotificationError compatible with its Category.
