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
- class \GuzzleHttp\Exception\TransferException extends \GuzzleHttp\Exception\RuntimeException implements \GuzzleHttp\Exception\GuzzleException
- class \GuzzleHttp\Exception\RequestException
- class \GuzzleHttp\Exception\ConnectException
- class \GuzzleHttp\Exception\RequestException
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\ExceptionView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConnectException:: |
public | function |
Overrides RequestException:: |
|
ConnectException:: |
public | function |
Overrides RequestException:: |
|
ConnectException:: |
public | function |
Overrides RequestException:: |
|
RequestException:: |
private | property | @var array | |
RequestException:: |
private | property | @var RequestInterface | |
RequestException:: |
private | property | @var ResponseInterface|null | |
RequestException:: |
public static | function | Factory method to create a new exception with a normalized error message | |
RequestException:: |
public | function | Get contextual information about the error from the underlying handler. | |
RequestException:: |
public | function | Get the request that caused the exception | |
RequestException:: |
public static | function | Get a short summary of the response | |
RequestException:: |
private static | function | Obfuscates URI if there is a username and a password present | |
RequestException:: |
public static | function | Wrap non-RequestExceptions with a RequestException |