Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConnectException.php

function ConnectException::__construct

File

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

Class

ConnectException
Exception thrown when a connection cannot be established.

Namespace

GuzzleHttp\Exception

Code

public function __construct(string $message, RequestInterface $request, ?\Throwable $previous = null, array $handlerContext = []) {
    parent::__construct($message, 0, $previous);
    $this->request = $request;
    $this->handlerContext = $handlerContext;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal