9 #ifndef CPPCOMMON_ERRORS_SYSTEM_ERROR_H
10 #define CPPCOMMON_ERRORS_SYSTEM_ERROR_H
43 static
void SetLast(
int error) noexcept;
SystemError & operator=(const SystemError &)=delete
SystemError & operator=(SystemError &&)=delete
static void ClearLast() noexcept
Clear the last system error code.
static int GetLast() noexcept
Get the last system error code.
SystemError(const SystemError &)=delete
SystemError(SystemError &&)=delete
static std::string Description()
Convert the last system error code to the system error description.
static void SetLast(int error) noexcept
Set the last system error code.
C++ Common project definitions.