24 #ifndef PDCOM5_EXCEPTION_H 25 #define PDCOM5_EXCEPTION_H 27 #include <pdcom5_export.h> 35 using std::runtime_error::runtime_error;
42 Exception(
"Internal error, please file a bug report: " + msg)
48 using Exception::Exception;
83 using Exception::Exception;
90 Exception(
"Read failure, errno: " + std::to_string(e)), errno_(e)
96 TlsError(std::string what,
int err_code) :
97 Exception(std::move(what)), err_code_(err_code)
105 using Exception::Exception;
107 Exception(
"Write failure, errno: " + std::to_string(e)), errno_(e)
115 #endif // PDCOM5_EXCEPTION_H Definition: Exception.h:76
Definition: Exception.h:94
Definition: Exception.h:33
Definition: Exception.h:61
Definition: Exception.h:38
Definition: Exception.h:66
Definition: Exception.h:81
Definition: Exception.h:51
Definition: Exception.h:56
Definition: Exception.h:102
Definition: Exception.h:86
Definition: ClientStatistics.h:31
Definition: Exception.h:71
Definition: Exception.h:46