1//! Error types for `tpt-sci-climate`. 2 3use thiserror::Error; 4 5/// Errors raised by the climate model. 6#[derive(Debug, Error, Clone, PartialEq)] 7pub enum ClimateError { 8 /// The model configuration was invalid. 9 #[error("invalid model: {0}")] 10 InvalidModel(String), 11}