12 #ifndef THRILL_NET_EXCEPTION_HEADER 13 #define THRILL_NET_EXCEPTION_HEADER 34 :
std::runtime_error(what)
39 what +
": [" +
std::
to_string(_errno) +
"] " + strerror(_errno))
48 #endif // !THRILL_NET_EXCEPTION_HEADER Exception(const std::string &what, int _errno)
Exception(const std::string &what)
static by_string to_string(int val)
convert to string
A Exception is thrown by Connection on all errors instead of returning error codes.
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking