class Requests_Exception_Transport_cURL extends Requests_Exception_Transport {
const MULTI = 'cURLMulti';
const SHARE = 'cURLShare';
* Which type of cURL error
protected $type = 'Unknown';
* Clear text error message
protected $reason = 'Unknown';
public function __construct($message, $type, $data = null, $code = 0) {
$this->reason = $message;
$message = sprintf('%d %s', $this->code, $this->reason);
parent::__construct($message, $this->type, $data, $this->code);
public function getReason() {