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

Breadcrumb

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

function RequestException::getResponse

Get the associated response

2 calls to RequestException::getResponse()
BadResponseException::getResponse in vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php
This function narrows the return type from the parent class and does not allow it to be nullable.
BadResponseException::getResponse in vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php
This function narrows the return type from the parent class and does not allow it to be nullable.
1 method overrides RequestException::getResponse()
BadResponseException::getResponse in vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php
This function narrows the return type from the parent class and does not allow it to be nullable.

File

vendor/guzzlehttp/guzzle/src/Exception/RequestException.php, line 125

Class

RequestException
HTTP Request exception

Namespace

GuzzleHttp\Exception

Code

public function getResponse() : ?ResponseInterface {
    return $this->response;
}

API Navigation

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