Class yii\authclient\InvalidResponseException
Inheritance | yii\authclient\InvalidResponseException » yii\base\Exception |
---|---|
Available since version | 2.0 |
InvalidResponseException represents an exception caused by invalid remote server response.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$responseBody | string | Response body. | yii\authclient\InvalidResponseException |
$responseHeaders | array | Response headers. | yii\authclient\InvalidResponseException |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Constructor. | yii\authclient\InvalidResponseException |
Property Details
Method Details
Constructor.
public 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. |