ark::comms::HttpRequestException
Defined in header “ark/comms/http_request_exception.hh”.
An exception indicating that the client encountered an exception while processing a request. Contains additional information about the error.
Methods
-
HttpRequestException(const std::string & reason, uint32_t http_response_code)
Constructor. Initializes the exception with the given reason and code. -
uint32_t http_response_code()
Returns the underlying HTTP code that caused this exception.