graphql-php/src/Error/UserError.php

21 lines
348 B
PHP
Raw Normal View History

<?php
namespace GraphQL\Error;
/**
* Class UserError
*
* Error caused by actions of GraphQL clients. Can be safely displayed to client...
*
* @package GraphQL\Error
*/
class UserError extends \RuntimeException implements ClientAware
{
/**
* @return bool
*/
public function isClientSafe()
{
return true;
}
}