2021-07-26 19:46:18 +02:00

25 lines
476 B
PHP

<?php
namespace Nuwave\Lighthouse\Exceptions;
use Exception;
use GraphQL\Error\ClientAware;
/**
* Thrown when the schema definition or related code is wrong.
*
* This signals a developer error, so we do not show this exception to the user.
*/
class DefinitionException extends Exception implements ClientAware
{
public function isClientSafe(): bool
{
return false;
}
public function getCategory(): string
{
return 'schema';
}
}