1 write to HttpRequestError
System.Net.Http (1)
System\Net\Http\HttpRequestException.cs (1)
48HttpRequestError = httpRequestError;
12 references to HttpRequestError
aspire (1)
Commands\TelemetryCommandHelpers.cs (1)
540: $"request error ({exception.HttpRequestError})";
Aspire.Hosting (2)
Dcp\KubernetesService.cs (2)
448if (ex is HttpRequestException { HttpRequestError: HttpRequestError.ConnectionError }) 482catch (HttpRequestException ex) when (apiServerWasReachable && ex.HttpRequestError == HttpRequestError.ConnectionError)
Microsoft.NET.Build.Containers (2)
AuthHandshakeMessageHandler.cs (1)
598_logger.LogInformation("Encountered a HttpRequestException {error} with message \"{message}\". Pausing before retry.", e.HttpRequestError, se.Message);
FallbackToHttpMessageHandler.cs (1)
79return exception.HttpRequestError == HttpRequestError.SecureConnectionError;
System.Net.Http (7)
System\Net\Http\DiagnosticsHelper.cs (1)
76errorType = (exception as HttpRequestException)?.HttpRequestError switch
System\Net\Http\HttpClient.cs (4)
446/// <exception cref="HttpRequestException">The request failed due to an issue getting a valid HTTP response, such as network connectivity failure, DNS failure, server certificate validation error, or invalid server response. The reason is indicated by <see cref="HttpRequestException.HttpRequestError"/>.</exception> 461/// <exception cref="HttpRequestException">The request failed due to an issue getting a valid HTTP response, such as network connectivity failure, DNS failure, server certificate validation error, or invalid server response. The reason is indicated by <see cref="HttpRequestException.HttpRequestError"/>.</exception> 476/// <exception cref="HttpRequestException">The request failed due to an issue getting a valid HTTP response, such as network connectivity failure, DNS failure, server certificate validation error, or invalid server response. The reason is indicated by <see cref="HttpRequestException.HttpRequestError"/>.</exception> 496/// <exception cref="HttpRequestException">The request failed due to an issue getting a valid HTTP response, such as network connectivity failure, DNS failure, server certificate validation error, or invalid server response. The reason is indicated by <see cref="HttpRequestException.HttpRequestError"/>.</exception>
System\Net\Http\HttpRequestException.cs (2)
39/// Initializes a new instance of the <see cref="HttpRequestException" /> class with a specific message an inner exception, and an HTTP status code and an <see cref="HttpRequestError"/>. 41/// <param name="httpRequestError">The <see cref="HttpRequestError"/> that caused the exception.</param>