Which exceptions can HttpClient throw?
As others have commented it depend on what you are calling with HttpClient. I get what you meant though and so here are some exceptions thrown with typical method calls. SendAsync can throw: ArgumentNullException The request was null. InvalidOperationException The request message was already sent by the HttpClient instance. HttpRequestException The request failed due to … Read more