in confidence/src/evaluation_error.rs [44:54]
fn to_string(&self) -> String {
match self {
Self::ProviderNotReady => "PROVIDER_NOT_READY".to_string(),
Self::FlagNotFound => "FLAG_NOT_FOUND".to_string(),
Self::ParseError => "PARSE_ERROR".to_string(),
Self::TypeMismatch => "TYPE_MISMATCH".to_string(),
Self::TargetingKeyMissing => "TARGETING_KEY_MISSING".to_string(),
Self::InvalidContext => "INVALID_CONTEXT".to_string(),
Self::General(message) => message.clone(),
}
}