<PackageReference Include="Refit" Version="17.0.0" />

Refit.ApiRequestException

Represents an error that occurred while sending an API request before a response could be received from the server.
public ApiRequestException(HttpRequestMessage message, HttpMethod httpMethod, RefitSettings refitSettings, Exception innerException)

public ApiRequestException(string exceptionMessage, HttpRequestMessage message, HttpMethod httpMethod, RefitSettings refitSettings)

public ApiRequestException(string exceptionMessage, HttpRequestMessage message, HttpMethod httpMethod, RefitSettings refitSettings, Exception innerException)