yii\authclient\InvalidResponseException - Yii2 类参考手册
Class yii\authclient\InvalidResponseException
Inheritance | yii\authclient\InvalidResponseException » yii\base\Exception » Exception |
---|---|
Available since version | 2.0 |
InvalidResponseException represents an exception caused by invalid remote server response.
Public Properties
隐藏继承的属性 Hide inherited properties
属性Property | 类型 Type | 简介 Description | 定义在 Defined By |
---|---|---|---|
$response | yii\httpclient\Response | HTTP response instance. | yii\authclient\InvalidResponseException |
Public Methods
隐藏继承的方法 Hide inherited methods
方法 Method | 简介 Description | 定义在 Defined By |
---|---|---|
__construct() | Constructor. | yii\authclient\InvalidResponseException |
getName() | yii\base\Exception |
属性详情 Property Details
HTTP response instance.
方法详情 Method Details
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. |