10Duke Scale 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
4xx-series, base class for many 4xx-exceptions.
Definition ClientError.h:13
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
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7