10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
ServerError.h
1
#ifndef TENDUKE_HTTP_SERVERERROR_H
2
#define TENDUKE_HTTP_SERVERERROR_H
3
4
#include "./HTTPResponseException.h"
5
6
namespace
tenduke
{
namespace
http
{
7
11
class
ServerError
:
public
tenduke::http::HTTPResponseException
12
{
13
public
:
19
ServerError
(
20
int
httpStatusCode,
21
const
std::string &message
22
)
23
:
tenduke
::
http
::
HTTPResponseException
(httpStatusCode, message)
24
{}
25
};
26
27
}}
28
29
#endif
// TENDUKE_HTTP_SERVERERROR_H
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::ServerError::ServerError
ServerError(int httpStatusCode, const std::string &message)
Constructs new instance.
Definition
ServerError.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
ServerError.h
Generated by
1.17.0