InvalidParamsException.php 397 B

123456789101112131415161718
  1. <?php
  2. declare(strict_types=1);
  3. namespace Yansongda\Pay\Exception;
  4. use Throwable;
  5. class InvalidParamsException extends Exception
  6. {
  7. /**
  8. * @param mixed $extra
  9. */
  10. public function __construct(int $code = self::PARAMS_ERROR, string $message = 'Params Error', $extra = null, Throwable $previous = null)
  11. {
  12. parent::__construct($message, $code, $extra, $previous);
  13. }
  14. }