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