You are here

public function HttpClientException::__construct in Http Client 6.2

Same name and namespace in other branches
  1. 7.2 includes/HttpClient.inc \HttpClientException::__construct()

File

includes/HttpClient.inc, line 276

Class

HttpClientException
Exception that's used to pass information about the response when a operation fails.

Code

public function __construct($message, $code = 0, $response = NULL, $exception = NULL) {
  parent::__construct($message, $code);
  $this->response = $response;
}