ContainerException.php 470 B

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