10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
Unauthorized.h
1
#ifndef TENDUKE_HTTP_UNAUTHORIZED_H
2
#define TENDUKE_HTTP_UNAUTHORIZED_H
3
4
#include "./ClientError.h"
5
6
namespace
tenduke
{
namespace
http
{
7
11
class
Unauthorized
:
public
tenduke::http::ClientError
12
{
13
public
:
19
Unauthorized
(
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
tenduke::http::ClientError
4xx-series, base class for many 4xx-exceptions.
Definition
ClientError.h:13
tenduke::http::ClientError::ClientError
ClientError(int httpStatusCode, const std::string &message)
Constructs new instance.
Definition
ClientError.h:20
tenduke::http::Unauthorized::Unauthorized
Unauthorized(int httpStatusCode, const std::string &message)
Constructs new instance.
Definition
Unauthorized.h:19
tenduke::http
HTTP-related services.
Definition
BadRequest.h:6
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
http
Unauthorized.h
Generated by
1.17.0