| Current Path : /var/www/clients/client3/web2/web/vendor/webonyx/graphql-php/src/Error/ |
| Current File : /var/www/clients/client3/web2/web/vendor/webonyx/graphql-php/src/Error/UserError.php |
<?php
declare(strict_types=1);
namespace GraphQL\Error;
use RuntimeException;
/**
* Error caused by actions of GraphQL clients. Can be safely displayed to a client...
*/
class UserError extends RuntimeException implements ClientAware
{
/**
* @return bool
*/
public function isClientSafe()
{
return true;
}
/**
* @return string
*/
public function getCategory()
{
return 'user';
}
}