# tmux.OptionDecodeError

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