pub fn validate_status(status: &str) -> Result<()>
Validate that a status value is known, returning an error if not.