Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

struct libtmux-go latest

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.ControlNotificationError
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/control_notification.go
struct tmux.ControlNotificationError

Fields3#

ControlNotificationError fields
NameTypeDescription
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.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes ControlNotificationError compatible with its Category.
Esc

Type to search.

Reference previewOpen reference