123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- // +----------------------------------------------------------------------
- // | WeChatDeveloper
- // +----------------------------------------------------------------------
- // | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ]
- // +----------------------------------------------------------------------
- // | 官方网站: https://thinkadmin.top
- // +----------------------------------------------------------------------
- // | 开源协议 ( https://mit-license.org )
- // | 免责声明 ( https://thinkadmin.top/disclaimer )
- // +----------------------------------------------------------------------
- // | gitee 代码仓库:https://gitee.com/zoujingli/WeChatDeveloper
- // | github 代码仓库:https://github.com/zoujingli/WeChatDeveloper
- // +----------------------------------------------------------------------
- namespace WeChat\Exceptions;
- /**
- * 加载类异常
- * Class InvalidInstanceException
- * @package WeChat\Exceptions
- */
- class InvalidInstanceException extends \Exception
- {
- /**
- * @var array
- */
- public $raw = [];
- /**
- * InvalidResponseException constructor.
- * @param string $message
- * @param integer $code
- * @param array $raw
- */
- public function __construct($message, $code = 0, $raw = [])
- {
- parent::__construct($message, intval($code));
- $this->raw = $raw;
- }
- }
|