20 lines
499 B
PHP
20 lines
499 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Yansongda\Pay\Exception;
|
|
|
|
use Psr\Container\NotFoundExceptionInterface;
|
|
use Throwable;
|
|
|
|
class ServiceNotFoundException extends Exception implements NotFoundExceptionInterface
|
|
{
|
|
/**
|
|
* @param mixed $extra
|
|
*/
|
|
public function __construct(string $message = 'Service Not Found', int $code = self::SERVICE_NOT_FOUND_ERROR, $extra = null, Throwable $previous = null)
|
|
{
|
|
parent::__construct($message, $code, $extra, $previous);
|
|
}
|
|
}
|