How can i manage exceptions from Client.PostAsync ?
I have this code:
AzureDevOpsSearchApiResponse searchResults = await client.PostAsync<AzureDevOpsSearchApiResponse>
(SiteGlobal.AzureDevOpsSearchRestApi, searchRequest.AsJson());
but i may not have status code "200" or maybe there was other issue. how can i manage & handle the exception that may appear from the response?