Files
kupshop/bundles/KupShop/GraphQLBundle/Exception/GraphQLNotFoundException.php
2025-08-02 16:30:27 +02:00

17 lines
396 B
PHP

<?php
namespace KupShop\GraphQLBundle\Exception;
use TheCodingMachine\GraphQLite\Exceptions\GraphQLException;
class GraphQLNotFoundException extends GraphQLException
{
public function __construct(
string $message,
?\Throwable $previous = null,
array $extensions = [],
) {
parent::__construct($message, 404, $previous, 'NOT_FOUND', $extensions);
}
}