Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.SnapshotDecodeError

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/snapshot.go
struct tmux.SnapshotDecodeError
struct [source]
struct [source]
struct tmux.SnapshotDecodeError

SnapshotDecodeError identifies one malformed decoded list row. It matches ErrMalformedSnapshot through 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.
Esc

Type to search.