PaymentException.php 749 B

12345678910111213141516171819202122232425
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | A3Mall
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2020 http://www.a3-mall.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Author: xzncit <158373108@qq.com>
  8. // +----------------------------------------------------------------------
  9. namespace app\common\library\payment;
  10. class PaymentException extends \Exception {
  11. private $raw;
  12. public function __construct($message = "", $code = 0, $data=[]){
  13. parent::__construct($message, $code,null);
  14. $this->raw = $data;
  15. }
  16. public function getRaw(){
  17. return $this->raw;
  18. }
  19. }