push_error_handler: Push a new GDAL CPLError handler
Description
push_error_handler() is a wrapper for
CPLPushErrorHandler() in the GDAL Common Portability
Library.
This pushes a new error handler on the thread-local error handler stack.
This handler will be used until removed with pop_error_handler().
A typical use is to temporarily set CPLQuietErrorHandler() which doesn't
make any attempt to report passed error or warning messages, but will
process debug messages via CPLDefaultErrorHandler.
Usage
push_error_handler(handler)
Value
No return value, called for side effects.
Arguments
handler
Character name of the error handler to push.
One of quiet, logging or default.