starfall/astronomy/distant_binary_star/error/mod.rs
1use crate::astronomy::planetary_system::error::Error as PlanetarySystemError;
2
3/// Star system errors.
4#[derive(Clone, Debug, Eq, Error, Hash, PartialEq)]
5pub enum Error {
6 /// Planetary System Error
7 #[error("an error occurred in the planetary system ({0})")]
8 PlanetarySystemError(#[from] PlanetarySystemError),
9}