# tmux.FormatDecodeError

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