# LibTmux.InvalidUTF8Error

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/text.jl#L1
- **Bases:** [`LibTmux.LibTmuxError`](/en/julia/latest/reference/libtmux-libtmuxerror/)
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-invalidutf8error/

```
LibTmux.InvalidUTF8Error(offset, reason)

LibTmux.InvalidUTF8Error(offset::Int64, reason::Symbol)
```

Malformed UTF-8 at the one-based byte `offset` of a stream subsequence.

## Methods

### `LibTmux.InvalidUTF8Error(offset, reason)`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/text.jl#L3).

### `LibTmux.InvalidUTF8Error(offset::Int64, reason::Symbol)`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/text.jl#L3).

## Parameters

- `offset` (`Any`) (for `InvalidUTF8Error(offset, reason) [overload 1]`)
- `reason` (`Any`) (for `InvalidUTF8Error(offset, reason) [overload 1]`)
- `offset` (`Int64`) (for `InvalidUTF8Error(offset, reason) [overload 2]`)
- `reason` (`Symbol`) (for `InvalidUTF8Error(offset, reason) [overload 2]`)

## Members

### Other members

- `offset` (property)
- `reason` (property)
