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.
Source and package
- Qualified name
-
tmux.Format Decode Error - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/format.go
Fields4#
| Name | Type | Description |
|---|---|---|
| Field | string | Field names the format field that could not be decoded. |
| Offset | int | Offset is the zero-based byte offset within Field's encoded value. |
| Reason | string | Reason describes the malformed encoding. |
| Record | int | Record is the one-based physical record number. |