original_string: public function setResponse($response)
      {
          $xml = simplexml_load_string($response);
          if (!empty($xml->error)) {
              $this->message = (string) $xml->error;
          }
      }
code: public function setResponse($response)
      {
          $xml = simplexml_load_string($response);
          if (!empty($xml->error)) {
              $this->message = (string) $xml->error;
          }
      }
code_tokens: public function setResponse ( $ response ) { $ xml = simplexml_load_string ( $ response ) ; if ( ! empty ( $ xml -> error ) ) { $ this -> message = ( string ) $ xml -> error ; } }
docstring: set exception message from response
  
  @param string $response
docstring_tokens: set exception message from response