# tmux.PaneEndedError.Is

- **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#L86
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-paneendederror-is/

```
func (e *PaneEndedError) Is(target error) bool
```

Is reports [ErrNotFound] for [PaneGone] and [ErrNoServer] for [ServerGone], including when no failed read is attached.

## Parameters

- `target` (`error`)
