10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
ClientError.h
1#ifndef TENDUKE_HTTP_CLIENTERROR_H
2#define TENDUKE_HTTP_CLIENTERROR_H
3
4#include "./HTTPResponseException.h"
5
6namespace tenduke { namespace http {
7
13{
14public:
21 int httpStatusCode,
22 const std::string &message
23 )
24 : tenduke::http::HTTPResponseException(httpStatusCode, message)
25 {}
26};
27
28}}
29
30#endif // TENDUKE_HTTP_CLIENTERROR_H
ClientError(int httpStatusCode, const std::string &message)
Constructs new instance.
Definition ClientError.h:20
ClientError(int httpStatusCode, const std::string &message)
Constructs new instance.
Definition ClientError.h:20
This exception is thrown when HTTP-request fails because of HTTP-statuscode.
Definition HTTPResponseException.h:14
HTTPResponseException(int httpStatusCode, const std::string &message)
Constructs new instance.
Definition HTTPResponseException.h:21
HTTP-related services.
Definition BadRequest.h:6
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4