Lyricdev
GitHub

struct TimeError

pub struct TimeError :: [Error]

Conforms to Error.

The error for what is no date, no time of day, no offset — February 30th, 24:00, an offset of 90 seconds — or a zone that cannot be loaded, its kind saying why.

Fields

pub detail: string
pub kind: TimeErrorKind = TimeErrorKind.Invalid

Methods

pub fn message(): string