Formats an error code (from GetLastError() or errno) to a user readable string, using FormatMessageA on Windows and strerror on other platforms.
Function formatSystemError
#include <Geode/utils/general.hpp>intcode
)#include <Geode/utils/general.hpp>Formats an error code (from GetLastError() or errno) to a user readable string, using FormatMessageA on Windows and strerror on other platforms.