* @author Anthon Pang * @author Gaetano Giunta */ namespace WebDriver\Exception; use WebDriver\Exception as BaseException; /** * WebDriver\Exception\CurlExec class * * @package WebDriver */ final class CurlExec extends BaseException { /** * @var array */ private $curlInfo = array(); /** * {@inheritdoc} */ public function __construct($message = null, $code = 0, \Exception $previous = null, $curlInfo = array()) { parent::__construct($message, $code, $previous); $this->curlInfo = $curlInfo; } /** * Get curl info * * @return array */ public function getCurlInfo() { return $this->curlInfo; } }