core / pragma.http / HttpRequestFailedException /
HttpRequestFailedException #
class HttpRequestFailedException(failureReason: HttpFailureReason, method: HttpMethod, uri: String, cause: Throwable) : RuntimeException
The one exception TimedHttpClient throws when a request fails without a response. failureReason says why, and the underlying exception is attached as the cause, a RedactedException copy is returned if the request contains any HttpRequest.sensitiveValues.
Constructors #
HttpRequestFailedException | fun HttpRequestFailedException(failureReason: HttpFailureReason, method: HttpMethod, uri: String, cause: Throwable) |