GDAL
|
Class that saves the error state on construction, and restores it on destruction. More...
#include <cpl_error.h>
Public Member Functions | |
CPLErrorStateBackuper (CPLErrorHandler hHandler=nullptr) | |
Constructor that backs up the error state, and optionally installs a thread-local temporary error handler (typically CPLQuietErrorHandler). | |
~CPLErrorStateBackuper () | |
Destructor that restores the error state to its initial state before construction. | |
Class that saves the error state on construction, and restores it on destruction.