You are here

class ConnectException in Auth0 Single Sign On 8.2

Exception thrown when a connection cannot be established.

Note that no response is present for a ConnectException

Hierarchy

Expanded class hierarchy of ConnectException

2 files declare their use of ConnectException
CurlFactory.php in vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php
StreamHandler.php in vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php

File

vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php, line 11

Namespace

GuzzleHttp\Exception
View source
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;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ConnectException::getResponse public function Overrides RequestException::getResponse
ConnectException::hasResponse public function Overrides RequestException::hasResponse
ConnectException::__construct public function Overrides RequestException::__construct
RequestException::$handlerContext private property @var array
RequestException::$request private property @var RequestInterface
RequestException::$response private property @var ResponseInterface|null
RequestException::create public static function Factory method to create a new exception with a normalized error message
RequestException::getHandlerContext public function Get contextual information about the error from the underlying handler.
RequestException::getRequest public function Get the request that caused the exception
RequestException::getResponseBodySummary public static function Get a short summary of the response
RequestException::obfuscateUri private static function Obfuscates URI if there is a username and a password present
RequestException::wrapException public static function Wrap non-RequestExceptions with a RequestException