ServiceException.php 393 B

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