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

Breadcrumb

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

function BadResponseException::hasResponse

Current exception and the ones that extend it will always have a response.

Overrides RequestException::hasResponse

File

vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php, line 26

Class

BadResponseException
Exception when an HTTP error occurs (4xx or 5xx error)

Namespace

GuzzleHttp\Exception

Code

public function hasResponse() : bool {
    return true;
}

API Navigation

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