| Inheritance | yii\authclient\InvalidResponseException » yii\base\Exception » Exception |
|---|---|
| Available since version | 2.0 |
| Source Code | https://github.com/yiisoft/yii2-authclient/blob/master/InvalidResponseException.php |
InvalidResponseException represents an exception caused by invalid remote server response.
| Property | Type | Description | Defined By |
|---|---|---|---|
| $response | yii\httpclient\Response | HTTP response instance. | yii\authclient\InvalidResponseException |
| Method | Description | Defined By |
|---|---|---|
| __construct() | Constructor. | yii\authclient\InvalidResponseException |
| getName() | yii\base\Exception |
HTTP response instance.
public yii\httpclient\Response $response = null
Constructor.
| public void __construct ( $response, $message = null, $code = 0, Exception $previous = null ) | ||
|---|---|---|
| $response | yii\httpclient\Response |
Response body |
| $message | string |
Error message |
| $code | integer |
Error code |
| $previous | Exception |
The previous exception used for the exception chaining. |
© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc-2.0/yii-authclient-invalidresponseexception.html