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

SnapshotDecodeError

SnapshotDecodeError identifies one malformed decoded list row. It matches ErrMalformedSnapshot through errors.Is; callers can recover its redacted location fields with errors.As.

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

Fields5#

SnapshotDecodeError fields
NameTypeDescription
Field string Field names the required format field that could not be decoded.
Object string Object names the tmux object whose listing contained the record.
Reason string Reason describes why the field was malformed.
Record int Record is the one-based physical record number in that listing.
Value string Value is redacted for library-created errors because snapshot fields may contain pane output, commands, paths, or other caller data.

Members2#

  • Error method Error implements error.
  • Unwrap method Unwrap makes SnapshotDecodeError compatible with ErrMalformedSnapshot.
Esc

Type to search.

Reference previewOpen reference