ErrorHandler::globalHandler() returns current handler