Lyricdev
GitHub

struct EncodingError

pub struct EncodingError :: [Error]

Conforms to Error.

The error thrown for text that is not the encoding it was decoded as: where — a byte of the text, a unit of UTF-16 — and what is wrong there.

Fields

pub offset: int
pub detail: string

Methods

pub fn message(): string