2026-03-21 02:55:24 +08:00
|
|
|
<?php
|
|
|
|
|
// +----------------------------------------------------------------------
|
2026-03-29 11:22:52 +08:00
|
|
|
// | Author: ScottPan Team
|
2026-03-21 02:55:24 +08:00
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
namespace crmeb\services\wechat;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use Throwable;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 微信错误统一处理
|
|
|
|
|
* Class WechatException
|
|
|
|
|
* @package crmeb\services\wechat
|
|
|
|
|
*/
|
|
|
|
|
class WechatException extends \RuntimeException
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* WechatException constructor.
|
|
|
|
|
* @param string $message
|
|
|
|
|
* @param int $code
|
|
|
|
|
* @param Throwable|null $previous
|
|
|
|
|
*/
|
|
|
|
|
public function __construct($message = "", $code = 0, Throwable $previous = null)
|
|
|
|
|
{
|
|
|
|
|
parent::__construct($message, $code, $previous);
|
|
|
|
|
}
|
|
|
|
|
}
|