28#ifndef WEBSOCKETPP_TRANSPORT_STUB_BASE_HPP
29#define WEBSOCKETPP_TRANSPORT_STUB_BASE_HPP
58 return "websocketpp.transport.stub";
64 return "Generic stub transport policy error";
66 return "feature not implemented";
81 return lib::error_code(
static_cast<int>(e),
get_category());
89template<>
struct is_error_code_enum<
websocketpp::transport::stub::error::value>
stub transport error category
char const * name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_
std::string message(int value) const
#define _WEBSOCKETPP_NOEXCEPT_TOKEN_
lib::error_code make_error_code(error::value e)
Get an error code with the given value and the stub transport category.
lib::error_category const & get_category()
Get a reference to a static copy of the stub transport error category.
@ not_implemented
not implemented
Namespace for the WebSocket++ project.
#define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_END_
#define _WEBSOCKETPP_ERROR_CODE_ENUM_NS_START_