use alloc::string::String;
#[derive(Debug, thiserror::Error)]
pub enum PodObservationsError {
#[error("satellite state not available for PRN {prn} at JD {epoch_jd:.6}")]
MissingSatelliteState {
prn: String,
epoch_jd: f64,
},
#[error("station position not available for station '{station_id}'")]
MissingStationPosition {
station_id: String,
},
#[error("elevation {el_deg:.1}° is below the atmospheric model cutoff")]
ElevationTooLow {
el_deg: f64,
},
#[error("light-time iteration did not converge")]
LightTimeNotConverged,
}