On this page
tmux.SnapshotDecodeError
- Module
- tmux
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/snapshot.go
-
SnapshotDecodeError identifies one malformed decoded list row. It matches
ErrMalformedSnapshotthrough errors.Is; callers can recover its redacted location fields with errors.As.
7 declared, 0 inherited
Members
- Field attribute Field names the required format field that could not be decoded.
- Object attribute Object names the tmux object whose listing contained the record.
- Reason attribute Reason describes why the field was malformed.
- Record attribute Record is the one-based physical record number in that listing.
- Value attribute Value is redacted for library-created errors because snapshot fields may contain pane output, commands, paths, or other caller data.
- Error method Error implements error.
- Unwrap method Unwrap makes SnapshotDecodeError compatible with ErrMalformedSnapshot.