10Duke Scale C++ Client
Loading...
Searching...
No Matches
NotFound.h
1#ifndef TENDUKE_SE_NOTFOUND_H
2#define TENDUKE_SE_NOTFOUND_H
3
4#include "./ClientError.h"
5
6namespace tenduke { namespace se { namespace http {
7
12{
13public:
20 const std::string &error,
21 const std::string &description
22 )
23 : ClientError(404, error, description)
24 {}
25
29 NotFound() : NotFound("", "")
30 {}
31};
32
33}}}
34
35#endif //TENDUKE_SE_NOTFOUND_H
NotFound(const std::string &error, const std::string &description)
Constructs new instance.
Definition NotFound.h:19
Base class for exceptions when 10Duke Scale backend responds with HTTP 4xx.
Definition ClientError.h:12
ClientError(const int code, const std::string &error, const std::string &description)
Constructs new instance with HTTP-statuscode, error code and description.
Definition ClientError.h:20
NotFound()
No arg construct new instance without error code or description.
Definition NotFound.h:29
NotFound(const std::string &error, const std::string &description)
Constructs new instance.
Definition NotFound.h:19
10Duke Scale C++ Client -specific HTTP implementation.
Definition APIException.h:9
Classes, functions and globals of 10Duke Scale C++ Client.
Definition AbstractClientFactory.h:16
Root for classes, functions and globals of 10Duke C++ Client.
Definition AbstractClientFactory.h:16