pub fn is_refusal(error: &str) -> bool
Whether an error is the service refusing the request, rather than failing to answer.