# tmux.ControlNotificationError

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/control_notification.go#L25
- **Page:** https://libtmux.org/reference/go/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.
