Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

struct libtmux-go latest

CaptureRequestError

CaptureRequestError reports a CapturePaneRequest field that cannot be represented as a tmux capture-pane argument. It matches ErrInvalidCaptureRequest through errors.Is and is available through errors.As.

Source and package
Qualified name
tmux.CaptureRequestError
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_capture.go
struct tmux.CaptureRequestError

Fields3#

CaptureRequestError fields
NameTypeDescription
Field string Field names the invalid request field.
Reason string Reason describes the violated request constraint without promising a stable complete error string.
Value string Value is the rejected field value. It may be empty when absence is the error.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes CaptureRequestError compatible with ErrInvalidCaptureRequest.
Esc

Type to search.

Reference previewOpen reference