11 std::cout << e.
what() << std::endl;
15 std::cout << e.
what() << std::endl;
17 std::cout << m.what() << std::endl;
static message_error create(int id_, const char *errmsg, const char *extra=NULL)
const char * what() const noexcept override
returns the explanatory string
general exception class for zio
static socket_error create(int id_, const char *errmsg, const char *extra=NULL)
Create a socket error with all data and optional extra message.