60 explicit SocketException(
const int code,
const std::string& message =
"SocketException")
61 : std::runtime_error(message +
" (" + std::to_string(code) +
")"),
_errorCode(code)
int getErrorCode() const noexcept
Definition SocketException.hpp:65
SocketException(const int code, const std::string &message="SocketException")
Definition SocketException.hpp:60
~SocketException() override=default
int _errorCode
Definition SocketException.hpp:70
Common platform and utility includes for jsocketpp.
A C++ socket library providing Java-style networking interfaces.
Definition BufferView.hpp:13