HorizonsError
Defined in: horizons.rs:54
pub enum HorizonsError { MissingStartMarker, MissingEndMarker, RowTooShort { line: usize, fields: usize }, ParseField { line: usize, field: &'static str, value: String }, NoData, NotSorted { index: usize }, Io(String), Fetch(String),}Errors produced by the Horizons parser / fetcher.
Variants
Section titled “Variants”MissingStartMarker
Section titled “MissingStartMarker”$$SOE start-of-ephemeris marker not found.
MissingEndMarker
Section titled “MissingEndMarker”$$EOE end-of-ephemeris marker not found.
RowTooShort
Section titled “RowTooShort”line: usize fields: usize
A row in the ephemeris block had too few comma-separated fields.
ParseField
Section titled “ParseField”line: usize field: &‘static str value: String
A numeric field could not be parsed.
NoData
Section titled “NoData”No samples were found between $$SOE and $$EOE.
NotSorted
Section titled “NotSorted”index: usize
Samples are not in ascending epoch order.
Io(String)
I/O error while reading a file.
Fetch(String)
HTTP / fetch error (only produced with the fetch-horizons feature).