Skip to main content

normalize_status

Function normalize_status 

Source
pub fn normalize_status(input: &str) -> Result<String, (String, Option<String>)>
Expand description

Normalize a status string via exact match or synonym lookup.

Returns the canonical status, or an error with the original input and an optional suggestion.