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
-
public
setError ( string $error, int $number )
Set the cURL error message
-
public
setCurlHandle ( Guzzle\Http\Curl\CurlHandle $handle )
Set the associated curl handle
-
public
getCurlHandle ( )
Get the associated cURL handle
-
public
getError ( )
Get the associated cURL error message
-
public
getErrorNo ( )
Get the associated cURL error number
-
public
getCurlInfo ( )
Returns curl information about the transfer
-
public
setCurlInfo ( 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|null
Get the associated cURL error number
Returns
integer|null
Returns curl information about the transfer
Returns
array
Set 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()