#include <cel_errutil.h>
Public Types | |
typedef uint64_t | ErrorType |
Public Member Functions | |
ErrorSaver () | |
~ErrorSaver () | |
void | restore () |
This class preserves the platform dependent error status such as errno and Windows GetLastError().
typedef uint64_t Celartem::ErrorSaver::ErrorType |
ErrorType definition that preserves various error codes.
Celartem::ErrorSaver::ErrorSaver | ( | ) |
Memorizes the current error status.
Celartem::ErrorSaver::~ErrorSaver | ( | ) |
Restore the error status.
void Celartem::ErrorSaver::restore | ( | ) |
Restore the error status.