Exception representing a Network Unreachable error (code 101 on Unix). More...
#include <socket_exception.h>

| Public Member Functions | |
| NetworkUnreachableException (const std::string &msg, int errnum) | |
| Constructor.  More... | |
| virtual | ~NetworkUnreachableException ()=default | 
|  Public Member Functions inherited from rcdiscover::SocketException | |
| int | get_error_code () const noexcept | 
| Returns error code.  More... | |
| SocketException (const std::string &msg, int errnum) | |
| Constructor.  More... | |
| virtual const char * | what () const noexcept override | 
| Returns error message.  More... | |
| virtual | ~SocketException ()=default | 
Exception representing a Network Unreachable error (code 101 on Unix).
Definition at line 79 of file socket_exception.h.
| rcdiscover::NetworkUnreachableException::NetworkUnreachableException | ( | const std::string & | msg, | 
| int | errnum | ||
| ) | 
Constructor.
| msg | error message | 
| errnum | error code | 
Definition at line 59 of file socket_exception.cc.
| 
 | virtualdefault |