1234567891011121314151617181920 |
- <?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);
- }
- }
|