BusinessException.php 406 B

12345678910111213141516171819
  1. <?php
  2. namespace Yansongda\Pay\Exceptions;
  3. class BusinessException extends GatewayException
  4. {
  5. /**
  6. * Bootstrap.
  7. *
  8. * @author yansongda <me@yansonga.cn>
  9. *
  10. * @param string $message
  11. * @param array|string $raw
  12. */
  13. public function __construct($message, $raw = [])
  14. {
  15. parent::__construct('ERROR_BUSINESS: '.$message, $raw, self::ERROR_BUSINESS);
  16. }
  17. }