1 | <?php |
||
9 | class CurlException extends AdapterException |
||
10 | { |
||
11 | /** |
||
12 | * @var mixed |
||
13 | */ |
||
14 | protected $curlInfo; |
||
15 | |||
16 | /** |
||
17 | * CurlException constructor. |
||
18 | * |
||
19 | * @param string $message |
||
20 | * @param int $code |
||
21 | * @param \Exception|null $previous |
||
22 | * @param mixed $curlInfo |
||
23 | */ |
||
24 | public function __construct($message, $code = 0, \Exception $previous = null, $curlInfo) |
||
30 | |||
31 | /** |
||
32 | * Gets the curl info from request / response. |
||
33 | * |
||
34 | * @return mixed |
||
35 | */ |
||
36 | public function getCurlInfo() |
||
40 | } |
||
41 |