original_string: private function validateXmlResponse($responseBody)
      {
          $data = simplexml_load_string($responseBody);
  
          if (isset($data->error_type)) {
              throw new \Exception($data->error_message);
          }
  
          return $responseBody;
      }
code: private function validateXmlResponse($responseBody)
      {
          $data = simplexml_load_string($responseBody);
  
          if (isset($data->error_type)) {
              throw new \Exception($data->error_message);
          }
  
          return $responseBody;
      }
code_tokens: private function validateXmlResponse ( $ responseBody ) { $ data = simplexml_load_string ( $ responseBody ) ; if ( isset ( $ data -> error_type ) ) { throw new \ Exception ( $ data -> error_message ) ; } return $ responseBody ; }
docstring: Parses the response content for the XML output format
  
  @param string $responseBody
  
  @return string
  @throws \Exception
docstring_tokens: Parses the response content for the XML output format