lib45d
45Drives C++ Library Development Documentation
|
23 #include <45d/Exceptions.hpp>
General exception for all Socket* related issues.
Definition: Exceptions.hpp:30
Thrown when shutdown() fails.
Definition: Exceptions.hpp:116
Thrown when bind() fails.
Definition: Exceptions.hpp:66
Thrown when read() fails.
Definition: Exceptions.hpp:107
Thrown when close(fd_) returns -1 with strerror(errno) as what.
Definition: Exceptions.hpp:48
Definition: Exceptions.hpp:71
Thrown when the socket address is too long.
Definition: Exceptions.hpp:57
45Drives namespace
Definition: Bytes.hpp:27
Thrown when write() fails.
Definition: Exceptions.hpp:98
const char * what(void) const noexcept
Return string containing explanation message.
Definition: Exceptions.hpp:44
Thrown when socket() returns -1 with strerror(errno) as what.
Definition: Exceptions.hpp:39
Exception(const std::string &what, int err=0) noexcept
Construct a new Exception object.
Definition: Exceptions.hpp:38
Thrown when connect() fails.
Definition: Exceptions.hpp:89
Exceptions thrown by this library.
Definition: Exceptions.hpp:30
Thrown when accept() fails.
Definition: Exceptions.hpp:80