Phase 1 FHIR on PHP- Provider Client and implement classes. (#1422)
[openemr.git] / phpfhir / vendor / guzzlehttp / guzzle / src / Exception / ConnectException.php
blobd33b0cc19d6f808fd16ad5f24982348b219cb999
1 <?php
2 namespace GuzzleHttp\Exception;
4 use Psr\Http\Message\RequestInterface;
6 /**
7 * Exception thrown when a connection cannot be established.
9 * Note that no response is present for a ConnectException
11 class ConnectException extends RequestException
13 public function __construct(
14 $message,
15 RequestInterface $request,
16 \Exception $previous = null,
17 array $handlerContext = []
18 ) {
19 parent::__construct($message, $request, null, $previous, $handlerContext);
22 /**
23 * @return null
25 public function getResponse()
27 return null;
30 /**
31 * @return bool
33 public function hasResponse()
35 return false;