BadResponseException.php
3 years ago
ClientException.php
3 years ago
ConnectException.php
3 years ago
GuzzleException.php
3 years ago
InvalidArgumentException.php
3 years ago
RequestException.php
3 years ago
SeekException.php
3 years ago
ServerException.php
3 years ago
TooManyRedirectsException.php
3 years ago
TransferException.php
3 years ago
ConnectException.php
32 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPMailSMTP\Vendor\GuzzleHttp\Exception; |
| 4 | |
| 5 | use WPMailSMTP\Vendor\Psr\Http\Message\RequestInterface; |
| 6 | /** |
| 7 | * Exception thrown when a connection cannot be established. |
| 8 | * |
| 9 | * Note that no response is present for a ConnectException |
| 10 | */ |
| 11 | class ConnectException extends \WPMailSMTP\Vendor\GuzzleHttp\Exception\RequestException |
| 12 | { |
| 13 | public function __construct($message, \WPMailSMTP\Vendor\Psr\Http\Message\RequestInterface $request, \Exception $previous = null, array $handlerContext = []) |
| 14 | { |
| 15 | parent::__construct($message, $request, null, $previous, $handlerContext); |
| 16 | } |
| 17 | /** |
| 18 | * @return null |
| 19 | */ |
| 20 | public function getResponse() |
| 21 | { |
| 22 | return null; |
| 23 | } |
| 24 | /** |
| 25 | * @return bool |
| 26 | */ |
| 27 | public function hasResponse() |
| 28 | { |
| 29 | return \false; |
| 30 | } |
| 31 | } |
| 32 |