for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Fhp\Adapter\Exception;
/**
* Class CurlException
* @package Fhp\Adapter\Exception
*/
class CurlException extends AdapterException
{
* @var mixed
protected $curlInfo;
* CurlException constructor.
*
* @param string $message
* @param int $code
* @param \Exception|null $previous
* @param mixed $curlInfo
public function __construct($message, $code = 0, \Exception $previous = null, $curlInfo)
parent::__construct($message, $code, $previous);
$this->curlInfo = $curlInfo;
}
* Gets the curl info from request / response.
* @return mixed
public function getCurlInfo()
return $this->curlInfo;