Errors v0.1.0

Source
Why a time zone could not be loaded.

TimeZoneError

pub enum TimeZoneError: uint8 {
    NotFound = 1,
    InvalidName = 2,
    InvalidData = 3,
    InvalidRule = 4,
    Unreadable = 5,
    OutOfMemory = 6
}

Why a time zone could not be loaded or built. Copy.

Source

Cases

NameValueDescription
NotFound1No zone of that name was found in any time-zone directory.
InvalidName2The name is not one a zone can have: empty, absolute, or reaching outside the directory with ...
InvalidData3The zone's data is not a well-formed TZif file.
InvalidRule4A POSIX TZ rule is malformed.
Unreadable5The zone's file could not be read for a reason other than its absence.
OutOfMemory6The allocator could not supply the storage.