Warning! You are currently reading the documentation for Requests 1.x.
It is recommended to upgrade to Requests 2.x at your earliest convenience.
Upgrading to Requests 2.x is fairly straight-forward.
A full list of the changes can be found in the Changelog.
Visit the documentation for Requests_Exception_Transport_cURL
in Requests 2.x.
Class Requests_Exception_Transport_cURL
Exception for HTTP requests
- Exception
- Requests_Exception
- Requests_Exception_Transport
- Requests_Exception_Transport_cURL
public
|
#
__construct( string $message, string $type, mixed $data = null, integer $code = 0 )
Create a new exception |
public
|
getData(),
getType()
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
string |
EASY
|
#
'cURLEasy'
|
string |
MULTI
|
#
'cURLMulti'
|
string |
SHARE
|
#
'cURLShare'
|
protected
integer
|
$code
cURL error code |
#
-1
|
protected
string
|
$type
Which type of cURL error |
#
'Unknown'
|
protected
string
|
$reason
Clear text error message |
#
'Unknown'
|
$data
|
$file,
$line,
$message
|