初始化项目:添加后端代码、ThinkPHP框架、前端资源
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace addons\epay\library\Yansongda\Pay\Exceptions;
|
||||
|
||||
class BusinessException extends GatewayException
|
||||
{
|
||||
/**
|
||||
* Bootstrap.
|
||||
*
|
||||
* @author yansongda <me@yansonga.cn>
|
||||
*
|
||||
* @param string $message
|
||||
* @param array|string $raw
|
||||
*/
|
||||
public function __construct($message, $raw = [])
|
||||
{
|
||||
parent::__construct('ERROR_BUSINESS: '.$message, $raw, self::ERROR_BUSINESS);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user