Errors v0.1.0
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.
Cases
| Name | Value | Description |
|---|---|---|
NotFound | 1 | No zone of that name was found in any time-zone directory. |
InvalidName | 2 | The name is not one a zone can have: empty, absolute, or reaching outside the directory with ... |
InvalidData | 3 | The zone's data is not a well-formed TZif file. |
InvalidRule | 4 | A POSIX TZ rule is malformed. |
Unreadable | 5 | The zone's file could not be read for a reason other than its absence. |
OutOfMemory | 6 | The allocator could not supply the storage. |