original_string: protected function handleErrorResponse( ResponseInterface $response ){
  
          $body = json_decode($response->getBody(), true);
  
          $message = "HTTP:{$response->getStatusCode()}";
  
          throw new Exception\ApiException( $message, $response->getStatusCode(), $body, $response );
  
      }
code: protected function handleErrorResponse( ResponseInterface $response ){
  
          $body = json_decode($response->getBody(), true);
  
          $message = "HTTP:{$response->getStatusCode()}";
  
          throw new Exception\ApiException( $message, $response->getStatusCode(), $body, $response );
  
      }
code_tokens: protected function handleErrorResponse ( ResponseInterface $ response ) { $ body = json_decode ( $ response -> getBody ( ) , true ) ; $ message = "HTTP:{$response->getStatusCode()}" ; throw new Exception \ ApiException ( $ message , $ response -> getStatusCode ( ) , $ body , $ response ) ; }
docstring: Called with a response from the API when the response code was unsuccessful. i.e. not 20X.
  
  @param ResponseInterface $response
  
  @return null
  @throw Exception\ApiException
docstring_tokens: Called with a response from the API when the response code was unsuccessful . i . e . not 20X .