InvalidGatewayException.php 407 B

12345678910111213141516171819
  1. <?php
  2. namespace Yansongda\Pay\Exceptions;
  3. class InvalidGatewayException extends Exception
  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('INVALID_GATEWAY: '.$message, $raw, self::INVALID_GATEWAY);
  16. }
  17. }