Adjust error messages (#1969)

<img width="1378" height="285" alt="image"
src="https://github.com/user-attachments/assets/f0283378-f839-4a1f-8331-909694a04b1f"
/>
This commit is contained in:
pakrym-oai authored and GitHub committed 2025-08-07 18:24:34 -07:00
1 parent cd06b28d84
commit fa0051190b
5 files changed
+98 -17

No files matched your search

+7
View File
@@ -67,6 +67,13 @@ impl PlanType {
}
}
}
pub fn as_string(&self) -> String {
match self {
Self::Known(known) => format!("{known:?}").to_lowercase(),
Self::Unknown(s) => s.clone(),
}
}
}
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]