Function netio3::utility::error_message
Defined in File Utility.hpp
Function Documentation
-
std::string netio3::utility::error_message(int error)
Get the error message for a given error code.
This function returns the error message for a given error code (errno). If the error code is not known, it returns “Unknown error”.
- Parameters:
error – The error code to get the message for
- Returns:
The error message