GetErrorHandler

This function gets the current error handler.