コンテンツにスキップ

KvnParseError

このコンテンツはまだ日本語訳がありません。

Defined in: kvn.rs:21

Available on crate feature alloc only.

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.

MissingField(&‘static str)

A required keyword was absent.


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

A keyword’s value 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).