# tmux.OptionDecodeError

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/option_decode.go#L31
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-optiondecodeerror/

OptionDecodeError reports a malformed recognized record without retaining its value. It matches [ErrMalformedOptionOutput] through errors.Is; callers can recover Record and Reason with errors.As. Record is the zero-based physical output line.

## Members

- `Record` (attribute): Record is the zero-based physical output line.
- `Reason` (attribute): Reason describes the malformed record without retaining its value.
- `Error` (method): Error implements error.
- `Unwrap` (method): Unwrap makes OptionDecodeError compatible with ErrMalformedOptionOutput.
