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

Breadcrumb

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

function ConnectException::getHandlerContext

Get contextual information about the error from the underlying handler.

The contents of this array will vary depending on which handler you are using. It may also be just an empty array. Relying on this data will couple you to a specific handler, but can give more debug information when needed.

File

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

Class

ConnectException
Exception thrown when a connection cannot be established.

Namespace

GuzzleHttp\Exception

Code

public function getHandlerContext() : array {
    return $this->handlerContext;
}

API Navigation

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