tmux.SnapshotDecodeError
Go
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- 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
- Error method Error implements error.
- 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.
- Unwrap method Unwrap makes SnapshotDecodeError compatible with ErrMalformedSnapshot.
- Value attribute Value is redacted for library-created errors because snapshot fields may contain pane output, commands, paths, or other caller data.