class NotFoundException extends \RuntimeException implements NotFoundExceptionInterface
9
{
10
public static function notFound(string $id): NotFoundException
11
{
12
return new self('Could not find entry with ID / type with class "'.$id.'"');
13
}
14
15
public static function notFoundInContainer(string $id): NotFoundException
16
{
17
return new self('GraphQL type "'.$id.'" could not be instantiated automatically. It has a constructor with compulsory parameters. Please create an entry in your container whose name is "'.$id.'"');