GDAL

Public Member Functions | List of all members
CPLErrorHandlerPusher Class Reference

Class that installs a (thread-local) error handler on construction, and restore the initial one on destruction. More...

`#include <cpl_error.h>`

## Public Member Functions
| CPLErrorHandlerPusher (CPLErrorHandler hHandler)
| Constructor that installs a thread-local temporary error handler (typically CPLQuietErrorHandler)
| CPLErrorHandlerPusher (CPLErrorHandler hHandler, void *user_data)
| Constructor that installs a thread-local temporary error handler, and its user data.
| ~CPLErrorHandlerPusher ()
| Destructor that restores the initial error handler.

## Detailed Description

Class that installs a (thread-local) error handler on construction, and restore the initial one on destruction.

The documentation for this class was generated from the following file:

- cpl_error.h