pub enum Error {
}
Expand description
Errors as defines in RFC 4.0.0, extended with some custom errors of this wrapper library.
Variants
Failed
The operation failed but a more specific error is not available
Domain
Argument was outside of acceptable range (when a more specific error code is not available)
LatLonDomain
Latitude or longitude arguments were outside of acceptable range
ResDomain
Resolution argument was outside of acceptable range
CellInvalid
H3Index cell argument was not valid
DirectedEdgeInvalid
H3Index directed edge argument was not valid
UndirectedEdgeInvalid
H3Index undirected edge argument was not valid
VertexInvalid
H3Index vertex argument was not valid
Pentagon
Pentagon distortion was encountered which the algorithm could not handle it
DuplicateInput
Duplicate input was encountered in the arguments and the algorithm could not handle it
NotNeighbors
H3Index cell arguments were not neighbors
ResMismatch
H3Index cell arguments had incompatible resolutions
MemoryAlloc
Necessary memory allocation failed
MemoryBounds
Bounds of provided memory were not large enough
OptionInvalid
Mode or flags argument was not valid.
UnknownError(u32)
Unknown error code
DirectionInvalid(u8)
Invalid H3 direction