summaryrefslogtreecommitdiff
path: root/server/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php
diff options
context:
space:
mode:
Diffstat (limited to 'server/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php')
-rw-r--r--server/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/server/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php b/server/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php
deleted file mode 100644
index d33b0cc..0000000
--- a/server/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-namespace GuzzleHttp\Exception;
-
-use 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;
- }
-}