use thiserror::Error;
#[derive(Error, Debug, PartialEq)]
pub enum OctopusError {
#[error("Invalid parameter '{parameter_name}': received '{value}', expected {expected_range}")]
InvalidParameter {
parameter_name: String,
value: String,
expected_range: String,
},
#[error("Collection '{collection_name}' cannot be empty.")]
EmptyCollection { collection_name: String },
}