Skip to main content

parse_status

Function parse_status 

Source
fn parse_status(
    what: &str,
    raw: &str,
    value: Option<u64>,
) -> Result<u16, String>
Expand description

Validates one status code (map key or value): an integer within 100-599.