/**
  * Creates a new invalid response exception.
  *
  * @param string $message
  * @param string $statusCode
  * @param array  $bodyArray
  */
 public function __construct($message, $statusCode, array $bodyArray)
 {
     parent::__construct($message);
     $this->statusCode = $statusCode;
     $this->bodyArray = $bodyArray;
 }
 /**
  * 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;
 }