Class yii\authclient\InvalidResponseException

Inheritanceyii\authclient\InvalidResponseException » yii\base\Exception » Exception
Available since version2.0
Source Code https://github.com/yiisoft/yii2-authclient/blob/master/InvalidResponseException.php

InvalidResponseException represents an exception caused by invalid remote server response.

Property Details

$responseBody public property

Response body.

$responseHeaders public property

Response headers.

Method Details

__construct() public method

Constructor.

void __construct$responseHeaders$responseBody$message null$code 0, \Exception $previous null )
$responseHeaders array

Response headers

$responseBody string

Response body

$message string

Error message

$code integer

Error code

$previous Exception

The previous exception used for the exception chaining.