WebSocket++  0.8.3-dev
C++ websocket client/server library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
websocketpp::http::exception Class Reference

An exception type specific to HTTP errors. More...

#include <constants.hpp>

Inheritance diagram for websocketpp::http::exception:

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
 

Detailed Description

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 298 of file constants.hpp.


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