![]() |
jsocketpp 1.0
A cross-platform C++20 socket library.
|
Exception types used in jsocketpp for error handling. More...

Classes | |
| class | jsocketpp::SocketException |
| Represents socket-related errors in the jsocketpp library. More... | |
| class | jsocketpp::SocketTimeoutException |
| Exception class for socket operations that time out. More... | |
Functions | |
| jsocketpp::SocketException::SocketException (const std::string &message="SocketException") | |
| Constructs a SocketException with a custom error message and no associated error code. | |
Exception types used in jsocketpp for error handling.
|
inlineexplicit |
Constructs a SocketException with a custom error message and no associated error code.
This overload is typically used when the error does not correspond to a specific platform error code (e.g., logic errors, precondition failures, etc.), but still warrants raising a socket-specific exception.
| message | A human-readable description of the error context. |