# tmux.PaneEndedError.Unwrap

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/2506df7dc1efe4293452a1c78b01a2bffa33a6a0/tmux/pane_text_wait.go#L77
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-paneendederror-unwrap/

```
func (e *PaneEndedError) Unwrap() []error
```

Unwrap returns [ErrPaneEnded] and the failed read's error, if any.
