mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
handle ENOENT error
This commit is contained in:
parent
d55eab9264
commit
515de4128f
@ -1092,6 +1092,8 @@ void SocketImpl::error(int code, const std::string& arg)
|
||||
throw IOException("Broken pipe", code);
|
||||
case EBADF:
|
||||
throw IOException("Bad socket descriptor", code);
|
||||
case ENOENT:
|
||||
throw IOException("Not found", arg, code);
|
||||
#endif
|
||||
default:
|
||||
throw IOException(NumberFormatter::format(code), arg, code);
|
||||
|
Loading…
x
Reference in New Issue
Block a user