19 lines
425 B
PHP
19 lines
425 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace KupShop\GraphQLBundle\Exception;
|
|
|
|
use TheCodingMachine\GraphQLite\Exceptions\GraphQLException;
|
|
|
|
class GraphQLValidationException extends GraphQLException
|
|
{
|
|
public function __construct(
|
|
string $message,
|
|
?\Throwable $previous = null,
|
|
array $extensions = [],
|
|
) {
|
|
parent::__construct($message, 400, $previous, 'VALIDATION', $extensions);
|
|
}
|
|
}
|