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:
parent
4ae6e509ff
commit
88a3977954
2 changed files with 10 additions and 7 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue