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.Snapshot Decode Error - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/snapshot.go
Fields5#
| Name | Type | Description |
|---|---|---|
| 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. |