Interface IErrorHandler
Handles errors in HTTP responses.
public interface IErrorHandler
Methods
HandleAsync(HttpResponseMessage)
Throws appropriate Exceptions based on HTTP status codes and response bodies.
Task HandleAsync(HttpResponseMessage response)
Parameters
response
HttpResponseMessage