use thiserror::Error;
#[derive(Debug, Error)]
pub enum PodDynamicsError {
#[error(transparent)]
Dynamics(#[from] crate::pod::propagation::DynamicsError),
#[error("unknown force model name: '{0}'")]
UnknownModel(String),
#[error("force model '{name}' rejected the supplied parameters: {reason}")]
InvalidParameters {
name: String,
reason: &'static str,
},
#[error("force model '{0}' is recognised but not yet implemented in this build")]
FeatureNotImplemented(&'static str),
#[error("invalid process-noise configuration: {0}")]
InvalidProcessNoise(&'static str),
#[error("invalid parameter STM step: {0}")]
InvalidParamStep(&'static str),
}