Lyricdev
GitHub

struct EncodeError

pub struct EncodeError :: [Error]

Conforms to Error.

The error an encoder throws: a format that cannot hold the form — a map keyed by a struct in JSON — or a writer that failed (then cause() is its error), at a path in the value.

Fields

pub path: string
pub detail: string = ""
pub inner: ?Error

Methods

pub fn message(): string
pub fn cause(): ?Error