original_string: private function handleCurlError($errno, $message)
      {
          switch ($errno) {
              case CURLE_COULDNT_CONNECT:
              case CURLE_COULDNT_RESOLVE_HOST:
              case CURLE_OPERATION_TIMEOUTED:
                  $msg = "Could not connect";
                  break;
              case CURLE_SSL_CACERT:
              case CURLE_SSL_PEER_CERTIFICATE:
                  $msg = "Could not verify SSL certificate.";
                  break;
              default:
                  $msg = "Unexpected curl error.";
          }
  
          $msg .= "\n\n(Network error [errno $errno]: $message)";
          throw new \LeaseCloud\Error($msg);
      }
code: private function handleCurlError($errno, $message)
      {
          switch ($errno) {
              case CURLE_COULDNT_CONNECT:
              case CURLE_COULDNT_RESOLVE_HOST:
              case CURLE_OPERATION_TIMEOUTED:
                  $msg = "Could not connect";
                  break;
              case CURLE_SSL_CACERT:
              case CURLE_SSL_PEER_CERTIFICATE:
                  $msg = "Could not verify SSL certificate.";
                  break;
              default:
                  $msg = "Unexpected curl error.";
          }
  
          $msg .= "\n\n(Network error [errno $errno]: $message)";
          throw new \LeaseCloud\Error($msg);
      }
code_tokens: private function handleCurlError ( $ errno , $ message ) { switch ( $ errno ) { case CURLE_COULDNT_CONNECT : case CURLE_COULDNT_RESOLVE_HOST : case CURLE_OPERATION_TIMEOUTED : $ msg = "Could not connect" ; break ; case CURLE_SSL_CACERT : case CURLE_SSL_PEER_CERTIFICATE : $ msg = "Could not verify SSL certificate." ; break ; default : $ msg = "Unexpected curl error." ; } $ msg .= "\n\n(Network error [errno $errno]: $message)" ; throw new \ LeaseCloud \ Error ( $ msg ) ; }
docstring: Throw an exception with message indicating type of http error
  
  @param number $errno
  @param string $message
  @throws Error
docstring_tokens: Throw an exception with message indicating type of http error