PaneEndedError
PaneEndedError reports that Pane.WaitForText stopped because the pane or its server ended first. The text read before then is in the returned PaneTextWait .
Source and package
- Qualified name
-
tmux.Pane Ended Error - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/pane_text_wait.go
-
Description#
It matches
ErrPaneEndedthrough errors.Is, andErrNotFoundforPaneGoneandErrNoServerforServerGone. It unwraps to theCommandErrorof the failed read when there was one.
Members4#
- Error method Error implements error.
- Is method Is reports
ErrNotFoundforPaneGoneandErrNoServerforServerGone, including when no failed read is attached. - Reason: Pane
End attribute Reason says how the pane ended.Reason - Unwrap method Unwrap returns
ErrPaneEndedand the failed read's error, if any.