JsonParseError
Defined in: json.rs:26
Available on crate feature
alloconly.
pub enum JsonParseError { Malformed(alloc::string::String), InvalidEpoch(alloc::string::String), Unsupported(UnsupportedMetadata), InvalidElements(ElementsError),}Error type for OMM JSON parsing.
Variants
Section titled “Variants”Malformed
Section titled “Malformed”Malformed(alloc::string::String)
The input was not a JSON object with the required OMM fields.
InvalidEpoch
Section titled “InvalidEpoch”InvalidEpoch(alloc::string::String)
EPOCH was not a parseable ISO-8601 UTC timestamp (calendar or
ordinal / day-of-year form).
Unsupported
Section titled “Unsupported”Unsupported(UnsupportedMetadata)
A metadata field declares something this crate cannot read (non-Earth center, non-TEME frame, non-UTC time system, non-SGP4 theory).
InvalidElements
Section titled “InvalidElements”InvalidElements(ElementsError)
The parsed values are not a valid element set (e.g. non-positive mean motion or out-of-range eccentricity).