国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
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.

27 lines
567B

  1. <?php
  2. namespace WeChat\Exceptions;
  3. if (!defined('DEDEINC')) exit('dedebiz');
  4. /**
  5. * 返回异常
  6. * Class InvalidResponseException
  7. * @package WeChat
  8. */
  9. class InvalidResponseException extends \Exception
  10. {
  11. /**
  12. * @var array
  13. */
  14. public $raw = [];
  15. /**
  16. * InvalidResponseException constructor.
  17. * @param string $message
  18. * @param integer $code
  19. * @param array $raw
  20. */
  21. public function __construct($message, $code = 0, $raw = [])
  22. {
  23. parent::__construct($message, intval($code));
  24. $this->raw = $raw;
  25. }
  26. }
  27. ?>