# media-cloud-sync/1.0.3/includes/sdk/s3/GuzzleHttp/Exception/ConnectException.php

Media Cloud Sync, version 1.0.3. 32 lines.

- Page: https://pluginprobe.com/plugins/media-cloud-sync/1.0.3/code/includes/sdk/s3/GuzzleHttp/Exception/ConnectException.php
- Raw: https://pluginprobe.com/plugins/media-cloud-sync/1.0.3/raw/includes/sdk/s3/GuzzleHttp/Exception/ConnectException.php
- Modified: 2024-10-27T10:40:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/media-cloud-sync/1.0.3/code/includes/sdk/s3/GuzzleHttp/Exception/ConnectException.php#L10-L20`.

```php
<?php

namespace Dudlewebs\WPMCS\s3\GuzzleHttp\Exception;

use Dudlewebs\WPMCS\s3\Psr\Http\Message\RequestInterface;
/**
 * Exception thrown when a connection cannot be established.
 *
 * Note that no response is present for a ConnectException
 */
class ConnectException extends RequestException
{
    public function __construct($message, RequestInterface $request, \Exception $previous = null, array $handlerContext = [])
    {
        parent::__construct($message, $request, null, $previous, $handlerContext);
    }
    /**
     * @return null
     */
    public function getResponse()
    {
        return null;
    }
    /**
     * @return bool
     */
    public function hasResponse()
    {
        return \false;
    }
}

```
