Searched refs:getErrnoString (Results 1 – 8 of 8) sorted by relevance
39 std::string getErrnoString(int err, const char* fn);40 std::string getErrnoString(int err);42 inline std::string getErrnoString(const char* fn) in getErrnoString() function44 return getErrnoString(errno, fn); in getErrnoString()47 inline std::string getErrnoString() in getErrnoString() function49 return getErrnoString(errno); in getErrnoString()
96 throw AccessFailed(getErrnoString("open failed")); in open()104 throw IOError(getErrnoString("Could not set FD_CLOEXEC")); in open()120 throw IOError(getErrnoString("Could not set fd to non-blocking")); in open()129 throw IOError(getErrnoString("Could not set FD_CLOEXEC")); in open()150 throw IOError(getErrnoString("Could not close file handle")); in close()211 throw IOError(getErrnoString("read failed")); in read()295 throw IOError(getErrnoString("Could not write to file handle")); in write()331 throw IOError(getErrnoString("Could not sync handle")); in sync()381 throw IOError(getErrnoString("poll failed")); in wait()
88 throw IOError(getErrnoString("lseek failed")); in seek()98 throw IOError(getErrnoString("ftruncate failed")); in resize()108 throw IOError(getErrnoString("fstat failed")); in size()
147 log_debug("could not create socket: " << getErrnoString()); in listen()155 … log_debug("could not set socket option SO_REUSEADDR " << fd << ": " << getErrnoString()); in listen()165 … log_debug("could not set socket option IPV6_V6ONLY " << fd << ": " << getErrnoString()); in listen()176 log_debug("could not bind " << fd << ": " << getErrnoString()); in listen()201 throw IOError(getErrnoString("Could not set FD_CLOEXEC")); in listen()496 throw IOError(getErrnoString("Could not set FD_CLOEXEC")); in accept()
40 : std::runtime_error( getErrnoString(err, fn) ) in SystemError()48 : std::runtime_error( getErrnoString(fn) ) in SystemError()
86 std::string getErrnoString(int errnum) in getErrnoString() function94 std::string getErrnoString(int errnum, const char* fn) in getErrnoString() function
70 << ": " << getErrnoString(err); in connectFailedMessage()231 << ": " << getErrnoString(); in tryConnect()
72 throw IOError(getErrnoString(errno)); in throwErrno()