pub fn is_proxy_error(error: &dyn Error) -> boolExpand description
Returns true if the error message indicates a proxy-related failure. This checks
for common proxy error patterns like “connection refused”, “tunnel failed”, etc.
Useful in retry logic to decide whether to switch to a different proxy.