Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.CaptureRequestError

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_capture.go
struct tmux.CaptureRequestError
struct [source]
struct [source]
struct tmux.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.

5 declared, 0 inherited

Members

  • Error method Error implements error.
  • Field attribute Field names the invalid request field.
  • Reason attribute Reason describes the violated request constraint without promising a stable complete error string.
  • Unwrap method Unwrap makes CaptureRequestError compatible with ErrInvalidCaptureRequest.
  • Value attribute Value is the rejected field value. It may be empty when absence is the error.
Esc

Type to search.