Program Listing for File Issues.hpp
↰ Return to documentation for file (BackendAsyncmsg/Issues.hpp
)
#ifndef NETIO3BACKEND_BACKENDASYNCMSG_ISSUES_HPP
#define NETIO3BACKEND_BACKENDASYNCMSG_ISSUES_HPP
#include <string>
#include <ers/ers.h>
namespace netio3 {
ERS_DECLARE_ISSUE(asyncmsg,
TcpReceiveMessageWrongType,
"Received message is not of type ReceiveMessage", )
ERS_DECLARE_ISSUE(asyncmsg, TcpSendMessageWrongType, "Sent message is not of type SendMessage", )
ERS_DECLARE_ISSUE(asyncmsg, TcpLogicError, message, ((const std::string&)message))
ERS_DECLARE_ISSUE(asyncmsg,
TcpFailedDequeueMessage,
"Failed to dequeue message from event queue", )
} // namespace netio3
#endif // NETIO3BACKEND_BACKENDASYNCMSG_ISSUES_HPP