mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-29 16:36:02 +03:00
21 lines
348 B
PHP
21 lines
348 B
PHP
<?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;
|
|
}
|
|
}
|