10Duke Scale C++ Client
Loading...
Searching...
No Matches
BadRequest.h
1#ifndef TENDUKE_HTTP_BADREQUEST_H
2#define TENDUKE_HTTP_BADREQUEST_H
3
4#include "./ClientError.h"
5
6namespace tenduke { namespace http {
7
12{
13public:
20 int httpStatusCode,
21 const std::string &message
22 )
23 : tenduke::http::ClientError(httpStatusCode, message)
24 {}
25};
26
27}}
28
29#endif // TENDUKE_HTTP_BADREQUEST_H
Thrown for HTTP status code 400 "BadRequest".
Definition BadRequest.h:12
BadRequest(int httpStatusCode, const std::string &message)
Constructs new instance.
Definition BadRequest.h:19
4xx-series, base class for many 4xx-exceptions.
Definition ClientError.h:13
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7