# tmux.SnapshotDecodeError

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