|
WebSocket++ 0.8.3-dev
C++ websocket client/server library
|
An exception type specific to HTTP errors. More...
#include <constants.hpp>
Public Member Functions | |
| exception (const std::string &log_msg, status_code::value error_code, const std::string &error_msg=std::string(), const std::string &body=std::string()) | |
| virtual const char * | what () const throw () |
Public Attributes | |
| std::string | m_msg |
| std::string | m_error_msg |
| std::string | m_body |
| status_code::value | m_error_code |
An exception type specific to HTTP errors.
Includes additional details, such as HTTP error code, HTTP error message, and a body to return with the HTTP error response.
Definition at line 300 of file constants.hpp.
|
inline |
Definition at line 302 of file constants.hpp.
|
inline | ||||||||||||
Definition at line 311 of file constants.hpp.
|
inlinevirtual | ||||||||||||
Definition at line 313 of file constants.hpp.
| std::string websocketpp::http::exception::m_body |
Definition at line 319 of file constants.hpp.
| status_code::value websocketpp::http::exception::m_error_code |
Definition at line 320 of file constants.hpp.
| std::string websocketpp::http::exception::m_error_msg |
Definition at line 318 of file constants.hpp.
| std::string websocketpp::http::exception::m_msg |
Definition at line 317 of file constants.hpp.