10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
ClientError.h
1
#ifndef TENDUKE_HTTP_CLIENTERROR_H
2
#define TENDUKE_HTTP_CLIENTERROR_H
3
4
#include "./HTTPResponseException.h"
5
6
namespace
tenduke
{
namespace
http
{
7
12
class
ClientError
:
public
tenduke::http::HTTPResponseException
13
{
14
public
:
20
ClientError
(
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
tenduke::http::ClientError::ClientError
ClientError(int httpStatusCode, const std::string &message)
Constructs new instance.
Definition
ClientError.h:20
tenduke::http::HTTPResponseException
This exception is thrown when HTTP-request fails because of HTTP-statuscode.
Definition
HTTPResponseException.h:14
tenduke::http::HTTPResponseException::HTTPResponseException
HTTPResponseException(int httpStatusCode, const std::string &message)
Constructs new instance.
Definition
HTTPResponseException.h:21
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
ClientError.h
Generated by
1.17.0