<?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);
    }
}
