28 #ifndef WEBSOCKETPP_ERROR_MESSAGE_HPP
29 #define WEBSOCKETPP_ERROR_MESSAGE_HPP
39 const std::string& get_msg()
const {
43 void set_msg(
const std::string& msg) {
47 void append_msg(
const std::string& msg) {
48 m_error_msg.append(msg);
52 void set_msg(
const T& thing) {
55 this->set_msg(val.str());
59 void append_msg(
const T& thing) {
62 this->append_msg(val.str());
66 std::string m_error_msg;
71 #endif // WEBSOCKETPP_ERROR_MESSAGE_HPP
Namespace for the WebSocket++ project.