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

FormatDecodeError

FormatDecodeError identifies a malformed escaped tmux format record. It matches ErrMalformedFormatOutput through errors.Is; callers can recover its location fields with errors.As. Library-created errors do not retain decoded record values, which may contain caller data.

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

Fields4#

FormatDecodeError fields
NameTypeDescription
Field string Field names the format field that could not be decoded.
Offset int Offset is the zero-based byte offset within Field's encoded value.
Reason string Reason describes the malformed encoding.
Record int Record is the one-based physical record number.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes FormatDecodeError compatible with ErrMalformedFormatOutput.
Esc

Type to search.

Reference previewOpen reference