api

http4k / org.http4k.cloudnative / RemoteRequestFailed

RemoteRequestFailed

open class RemoteRequestFailed : RuntimeException

This hierarchy of exceptions should be used to indicate that an upstream remote system has failed with a non-successful status code which caused us to stop processing. They are designed to be used with the Server and Client filters which will allow automatic handling and propagation of erroneous responses from upstream.

Constructors

Name Summary
<init> This hierarchy of exceptions should be used to indicate that an upstream remote system has failed with a non-successful status code which caused us to stop processing. They are designed to be used with the Server and Client filters which will allow automatic handling and propagation of erroneous responses from upstream.RemoteRequestFailed(status: Status, message: String, uri: Uri? = null)

Properties

Name Summary
status val status: Status

Inheritors

Name Summary
ClientTimeout class ClientTimeout : RemoteRequestFailed
Forbidden class Forbidden : RemoteRequestFailed
GatewayTimeout class GatewayTimeout : RemoteRequestFailed
NotFound class NotFound : RemoteRequestFailed
Unauthorized class Unauthorized : RemoteRequestFailed