1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add errno to socket creation failed exception

This commit is contained in:
kwolekr 2015-11-08 18:14:36 -05:00
parent 4ae6e509ff
commit 88a3977954
2 changed files with 10 additions and 7 deletions

View file

@ -45,7 +45,7 @@ extern bool socket_enable_debug_output;
class SocketException : public BaseException
{
public:
SocketException(const char *s):
SocketException(const std::string &s):
BaseException(s)
{
}
@ -54,7 +54,7 @@ public:
class ResolveError : public BaseException
{
public:
ResolveError(const char *s):
ResolveError(const std::string &s):
BaseException(s)
{
}
@ -63,7 +63,7 @@ public:
class SendFailedException : public BaseException
{
public:
SendFailedException(const char *s):
SendFailedException(const std::string &s):
BaseException(s)
{
}