public function BadResponseException::getResponse

Get the response that caused the exception

Return value

Response

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Exception/BadResponseException.php, line 70

Class

BadResponseException
Http request exception thrown when a bad response is received

Namespace

Guzzle\Http\Exception

Code

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