ark::comms::BadRequestException

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


An exception indicating that the client sent a bad request. Typically thrown by HTTP methods to better indicate that there was a problem with an incoming request (other exceptions result in a 500 error).

Methods

  • BadRequestException(const std::string & reason)
    Constructor. Initializes the exception with the given reason.