libtmux Reference MCP Search
On this page

tmux.FormatDecodeError

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/format.go
struct tmux.FormatDecodeError
struct [source]
struct [source]
struct tmux.FormatDecodeError

FormatDecodeError identifies a malformed escaped tmux format record. It matches ErrMalformedFormatOutput through errors.Is; callers can recover its location fields with errors.As. Library-created errors do not retain decoded record values, which may contain caller data.

6 declared, 0 inherited

Members

  • Field attribute Field names the format field that could not be decoded.
  • Offset attribute Offset is the zero-based byte offset within Field's encoded value.
  • Reason attribute Reason describes the malformed encoding.
  • Record attribute Record is the one-based physical record number.
  • Error method Error implements error.
  • Unwrap method Unwrap makes FormatDecodeError compatible with ErrMalformedFormatOutput.
Esc

Type to search.