KvnParseError
Defined in: kvn.rs:21
Available on crate feature
alloconly.
pub enum KvnParseError { MissingField(&'static str), InvalidValue { key: &'static str, value: alloc::string::String }, InvalidEpoch(alloc::string::String), InvalidElements(ElementsError),}Error type for OMM KVN parsing.
Variants
Section titled “Variants”MissingField
Section titled “MissingField”MissingField(&‘static str)
A required keyword was absent.
InvalidValue
Section titled “InvalidValue”key: &‘static str value: alloc::string::String
A keyword’s value could not be parsed as the expected number.
InvalidEpoch
Section titled “InvalidEpoch”InvalidEpoch(alloc::string::String)
EPOCH was not a parseable ISO-8601 UTC timestamp (calendar or
ordinal / day-of-year form).
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).