original_string: private function connection_open_fail($msg='') {
  		$logline = sprintf('Redis: %s connection failed',
  			$this->redistype);
  		if ($msg)
  			$logline .= ': ' . $msg;
  		$logline .= ' <- ' . json_encode($this->verified_params);
  		self::$logger->error($logline);
  		throw new RedisError(RedisError::CONNECTION_ERROR,
  			$logline);
  	}
code: private function connection_open_fail($msg='') {
  		$logline = sprintf('Redis: %s connection failed',
  			$this->redistype);
  		if ($msg)
  			$logline .= ': ' . $msg;
  		$logline .= ' <- ' . json_encode($this->verified_params);
  		self::$logger->error($logline);
  		throw new RedisError(RedisError::CONNECTION_ERROR,
  			$logline);
  	}
code_tokens: private function connection_open_fail ( $ msg = '' ) { $ logline = sprintf ( 'Redis: %s connection failed' , $ this -> redistype ) ; if ( $ msg ) $ logline .= ': ' . $ msg ; $ logline .= ' <- ' . json_encode ( $ this -> verified_params ) ; self :: $ logger -> error ( $ logline ) ; throw new RedisError ( RedisError :: CONNECTION_ERROR , $ logline ) ; }
docstring: Throw exception on failing connection.
docstring_tokens: Throw exception on failing connection .