public function HttpClientException::__construct in Http Client 7.2
Same name and namespace in other branches
- 6.2 includes/HttpClient.inc \HttpClientException::__construct()
File
- includes/
HttpClient.inc, line 294
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;
}