10Duke Scale C++ Client
Loading...
Searching...
No Matches
tenduke::http::ClientError Class Reference

#include <ClientError.h>

Detailed Description

4xx-series, base class for many 4xx-exceptions.

Also used standalone for common catch-all 4xx-statuscodes.

Inheritance diagram for tenduke::http::ClientError:
tenduke::http::HTTPResponseException tenduke::http::HTTPException tenduke::net::NetworkingException tenduke::TendukeException tenduke::http::BadRequest tenduke::http::Forbidden tenduke::http::NotFound tenduke::http::Unauthorized

Public Member Functions

 ClientError (int httpStatusCode, const std::string &message)
 Constructs new instance.
 
- Public Member Functions inherited from tenduke::http::HTTPResponseException
 HTTPResponseException (int httpStatusCode, const std::string &message)
 Constructs new instance.
 
int getStatusCode () const
 Returns the HTTP status code.
 
- Public Member Functions inherited from tenduke::http::HTTPException
 HTTPException (const std::string &message)
 Constructs new instance.
 
- Public Member Functions inherited from tenduke::net::NetworkingException
 NetworkingException (const std::string &message)
 Constructs new instance.
 
- Public Member Functions inherited from tenduke::TendukeException
 TendukeException (const std::string &message)
 Constructs new instance.
 

Constructor & Destructor Documentation

◆ ClientError()

tenduke::http::ClientError::ClientError ( int  httpStatusCode,
const std::string &  message 
)
inline

Constructs new instance.

Parameters
httpStatusCode-
message-

The documentation for this class was generated from the following file: