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

OptionDecodeError

OptionDecodeError reports a malformed recognized record without retaining its value. It matches ErrMalformedOptionOutput through errors.Is; callers can recover Record and Reason with errors.As. Record is the zero-based physical output line.

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

Fields2#

OptionDecodeError fields
NameTypeDescription
Reason string Reason describes the malformed record without retaining its value.
Record int Record is the zero-based physical output line.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes OptionDecodeError compatible with ErrMalformedOptionOutput.
Esc

Type to search.

Reference previewOpen reference