InvalidArgumentException.php 410 B

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