Function liberate::sys::error_message

Function Documentation

std::string liberate::sys::error_message(int code)

Similar, platform-independent version of turning an error code as returned by the above function into an error message. Takes care of UTF-8 encoding, if necessary.

Parameters

code[in] A platform error code.

Returns

a string message describing the error provided by the system.