ark::comms::HttpResponseException

Defined in header “ark/comms/http_response_exception.hh”.


An exception indicating that the server encountered an exception while processing a request. Contains additional information about the error.

Methods

  • HttpResponseException(const std::string & reason, HttpResponseCode http_response_code)
    Constructor. Initializes the exception with the given reason and code.

  • HttpResponseCode http_response_code()
    Returns the underlying HTTP code that caused this exception.