10Duke Scale C++ Client
Loading...
Searching...
No Matches
Unauthorized.h
1#ifndef TENDUKE_HTTP_UNAUTHORIZED_H
2#define TENDUKE_HTTP_UNAUTHORIZED_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_UNAUTHORIZED_H
4xx-series, base class for many 4xx-exceptions.
Definition ClientError.h:13
Thrown for HTTP status code 401, "Unauthorized".
Definition Unauthorized.h:12
Unauthorized(int httpStatusCode, const std::string &message)
Constructs new instance.
Definition Unauthorized.h:19
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7