Lyricdev
GitHub

struct DecodeError

pub struct DecodeError :: [Error]

Conforms to Error.

The error a decoder throws: what was wrong, where in the data — users[0].mail, "" at the root — and the detail. message() joins the three.

Fields

pub kind: DecodeErrorKind
pub path: string
pub detail: string = ""

Methods

pub fn message(): string