# tmux.FormatDecodeError

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

## Members

- `Record` (attribute) — Record is the one-based physical record number.
- `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.
- `Error` (method) — Error implements error.
- `Unwrap` (method) — Unwrap makes FormatDecodeError compatible with ErrMalformedFormatOutput.
