# tmux.EnvironmentDecodeError

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

EnvironmentDecodeError reports one malformed show-environment record. It never retains the record because environment output may contain secrets.

## Members

- `Record` (attribute): Record is the zero-based malformed output record number.
- `Reason` (attribute): Reason describes malformed framing without retaining the record value.
- `Error` (method): Error implements error.
- `Unwrap` (method): Unwrap makes EnvironmentDecodeError compatible with ErrMalformedEnvironment.
