Skip to main content

check

Function check 

Source
pub async fn check(resp: Response, what: &str) -> Result<Response>
Expand description

Maps HTTP failures to exit codes: 401/403 → 3, 404 → 4, 412 → 5.