def METHOD_NAME(self, event):
    if "error" in event:
        self._handle_error_response(event["error"])
    elif "globals" not in event:
        self._handle_error_response(str(event))
    else:
        self.show_globals(event["globals"], event["module_name"])