Skip to content

XmlParseError

Defined in: xml.rs:24

Available on crate feature alloc only.

pub enum XmlParseError {
MissingElement(&'static str),
InvalidValue { key: &'static str, value: alloc::string::String },
InvalidEpoch(alloc::string::String),
InvalidElements(ElementsError),
}

Error type for OMM XML parsing.

MissingElement(&‘static str)

A required element was absent.


key: &‘static str value: alloc::string::String

An element’s text could not be parsed as the expected number.


InvalidEpoch(alloc::string::String)

EPOCH was not a parseable ISO-8601 UTC timestamp (calendar or ordinal / day-of-year form).


InvalidElements(ElementsError)

The parsed values are not a valid element set (e.g. non-positive mean motion or out-of-range eccentricity).