Class CurlException
cURL request exception
- Exception
-
RuntimeException
-
Guzzle\Common\Exception\RuntimeException
implements
Guzzle\Common\Exception\GuzzleException
-
Guzzle\Http\Exception\RequestException
implements
Guzzle\Http\Exception\HttpException
-
Guzzle\Http\Exception\CurlException
Direct known subclasses
Methods summary
-
publicsetError ( string $error, int $number )Set the cURL error message
-
publicsetCurlHandle ( Guzzle\Http\Curl\CurlHandle $handle )Set the associated curl handle
-
publicgetCurlHandle ( )Get the associated cURL handle
-
publicgetError ( )Get the associated cURL error message
-
publicgetErrorNo ( )Get the associated cURL error number
-
publicgetCurlInfo ( )Returns curl information about the transfer
-
publicsetCurlInfo ( array $info )Set curl transfer information
Methods detail
Set the cURL error message
Parameters
- $error
string
$error Curl error- $number
integer
$number Curl error number
Returns
Set the associated curl handle
Parameters
- $handle
Guzzle\Http\Curl\CurlHandle
$handle Curl handle
Returns
Get the associated cURL error message
Returns
string|nullGet the associated cURL error number
Returns
integer|nullReturns curl information about the transfer
Returns
arraySet curl transfer information
Parameters
- $info
array
$info Array of curl transfer information
Returns
Link
Methods inherited from Guzzle\Http\Exception\RequestException
Methods inherited from Exception
__construct(),
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()