36 #ifndef RCDISCOVER_SOCKETEXCEPTION_H 37 #define RCDISCOVER_SOCKETEXCEPTION_H 63 what()
const noexcept
override;
93 #endif // RCDISCOVER_SOCKETEXCEPTION_H virtual const char * what() const noexceptoverride
Returns error message.
SocketException(const std::string &msg, int errnum)
Constructor.
Exception representing an invalid socket operation.
Exception representing a Network Unreachable error (code 101 on Unix).
int get_error_code() const noexcept
Returns error code.
virtual ~SocketException()=default