WebSocket++
0.8.2
C++ websocket client/server library
|
28 #ifndef WEBSOCKETPP_TRANSPORT_DEBUG_BASE_HPP
29 #define WEBSOCKETPP_TRANSPORT_DEBUG_BASE_HPP
31 #include <websocketpp/common/system_error.hpp>
32 #include <websocketpp/common/cpp11.hpp>
36 namespace websocketpp {
63 return "websocketpp.transport.debug";
66 std::string message(
int value)
const {
69 return "Generic stub transport policy error";
71 return "feature not implemented";
72 case invalid_num_bytes:
73 return "Invalid number of bytes";
75 return "Read while another read was outstanding";
100 static bool const value =
true;
#define _WEBSOCKETPP_NOEXCEPT_TOKEN_
lib::error_code make_error_code(error::value e)
Get an error code with the given value and the debug transport category.
@ not_implemented
not implemented
debug transport error category
lib::error_category const & get_category()
Get a reference to a static copy of the debug transport error category.
#define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_END_
#define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_START_