<?php // +---------------------------------------------------------------------- // | WeChatDeveloper // +---------------------------------------------------------------------- // | 版权所有 2014~2024 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 LocalCacheException * @package WeChat */ class LocalCacheException extends \Exception { /** * @var array */ public $raw = []; /** * LocalCacheException 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; } }