Method | Description | |
---|---|---|
HandleError ( |
Handles the error in the given response. This implementation throws appropriate exception if the response status code is a client code error (4xx) or a server code error (5xx). |
Method | Description | |
---|---|---|
HandleClientErrors ( HttpStatusCode statusCode ) : void | ||
HandleServerErrors ( HttpStatusCode statusCode ) : void |
public HandleError ( |
||
requestUri | The request URI. | |
requestMethod | HttpMethod | The request method. |
response | HttpResponseMessage |
The response message with the error. |
return | void |