GatewayException.php
501 字节
<?php
namespace Yansongda\Pay\Exceptions;
class GatewayException extends Exception
{
/**
* error raw data.
*
* @var array
*/
public $raw = [];
/**
* [__construct description].
*
* @author JasonYan <me@yansongda.cn>
*
* @param string $message
* @param string|int $code
*/
public function __construct($message, $code, $raw = [])
{
parent::__construct($message, intval($code));
$this->raw = $raw;
}
}