# tmux.SnapshotDecodeError

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/snapshot.go#L26
- **Page:** https://libtmux.org/reference/go/tmux-snapshotdecodeerror/

SnapshotDecodeError identifies one malformed decoded list row. It matches [ErrMalformedSnapshot] through errors.Is; callers can recover its redacted location fields with errors.As.

## Members

- `Object` (attribute) — Object names the tmux object whose listing contained the record.
- `Record` (attribute) — Record is the one-based physical record number in that listing.
- `Field` (attribute) — Field names the required format field that could not be decoded.
- `Value` (attribute) — Value is redacted for library-created errors because snapshot fields may contain pane output, commands, paths, or other caller data.
- `Reason` (attribute) — Reason describes why the field was malformed.
- `Error` (method) — Error implements error.
- `Unwrap` (method) — Unwrap makes SnapshotDecodeError compatible with ErrMalformedSnapshot.
