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

Go API

Go documentation

tmux.FormatDecodeError

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/format.go
struct tmux.FormatDecodeError
struct [source]
struct [source]
struct tmux.FormatDecodeError

FormatDecodeError identifies a malformed escaped tmux format record. It matches ErrMalformedFormatOutput through errors.Is; callers can recover its location fields with errors.As. Library-created errors do not retain decoded record values, which may contain caller data.

6 declared, 0 inherited

Members

  • Error method Error implements error.
  • Field attribute Field names the format field that could not be decoded.
  • Offset attribute Offset is the zero-based byte offset within Field's encoded value.
  • Reason attribute Reason describes the malformed encoding.
  • Record attribute Record is the one-based physical record number.
  • Unwrap method Unwrap makes FormatDecodeError compatible with ErrMalformedFormatOutput.
Esc

Type to search.