# tmux.EnvironmentDecodeError

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