Base class for exceptions, which are mapped from HTTP-status-codes from 10Duke Scale backend.
|
| | APIException (const int code, std::string error, const std::string &description) |
| | Constructs new instance with HTTP status code, error code and description.
|
| |
| | APIException (const int code, const std::string &description) |
| | Constructs new instance with HTTP status code and description.
|
| |
| | APIException (const int code) |
| | Constructs new instance just with HTTP status code.
|
| |
| std::string | getError () const |
| | Returns the error code.
|
| |
| std::string | getDescription () const |
| | Returns the description.
|
| |
| | HTTPResponseException (int httpStatusCode, const std::string &message) |
| | Constructs new instance.
|
| |
| int | getStatusCode () const |
| | Returns the HTTP status code.
|
| |
| | HTTPException (const std::string &message) |
| | Constructs new instance.
|
| |
| | NetworkingException (const std::string &message) |
| | Constructs new instance.
|
| |
| | TendukeException (const std::string &message) |
| | Constructs new instance.
|
| |