1use thiserror::Error; 2 3/// An error when performing OPTICS Analysis 4#[derive(Error, Debug)] 5pub enum OpticsError { 6 /// When any of the hyperparameters are set the wrong value 7 #[error("Invalid value encountered: {0}")] 8 InvalidValue(String), 9}