ZIO
Python and C++ interface to ZeroMQ and Zyre
|
exception indicating a socket error More...
#include <exceptions.hpp>
Static Public Member Functions | |
static socket_error | create (int id_, const char *errmsg, const char *extra=NULL) |
Create a socket error with all data and optional extra message. More... | |
static socket_error | create (const char *extra=NULL) |
Additional Inherited Members | |
![]() | |
const char * | what () const noexcept override |
returns the explanatory string More... | |
![]() | |
const int | id |
the id of the exception More... | |
![]() | |
exception (int id_, const char *what_arg) | |
![]() | |
static std::string | name (const std::string &ename, int id_) |
exception indicating a socket error
This exception is thrown when the underlying socket operations indicate an error. The ID is set to the errno.
Definition at line 42 of file exceptions.hpp.
|
inlinestatic |
Create a socket error with all data and optional extra message.
Definition at line 46 of file exceptions.hpp.
|
inlinestatic |
Create a socket error with implicit use of errno/strerr and optional extra message.
Definition at line 57 of file exceptions.hpp.