You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
444 B
21 lines
444 B
1 year ago
|
<?php
|
||
|
|
||
|
namespace Yansongda\Pay\Exceptions;
|
||
|
|
||
|
class GatewayException extends Exception
|
||
|
{
|
||
|
/**
|
||
|
* Bootstrap.
|
||
|
*
|
||
|
* @author yansongda <me@yansonga.cn>
|
||
|
*
|
||
|
* @param string $message
|
||
|
* @param array|string $raw
|
||
|
* @param int $code
|
||
|
*/
|
||
|
public function __construct($message, $raw = [], $code = self::ERROR_GATEWAY)
|
||
|
{
|
||
|
parent::__construct('ERROR_GATEWAY: '.$message, $raw, $code);
|
||
|
}
|
||
|
}
|