mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-06 07:49:24 +03:00
326e0b4719
This allows for a more granular default for which Exceptions are thrown, taking the settings made through the ClientAware interface into account. - Add docs - Add a test case - Differentiate clearly from other test
17 lines
336 B
PHP
17 lines
336 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace GraphQL\Error;
|
|
|
|
/**
|
|
* Collection of flags for [error debugging](error-handling.md#debugging-tools).
|
|
*/
|
|
class Debug
|
|
{
|
|
const INCLUDE_DEBUG_MESSAGE = 1;
|
|
const INCLUDE_TRACE = 2;
|
|
const RETHROW_INTERNAL_EXCEPTIONS = 4;
|
|
const RETHROW_UNSAFE_EXCEPTIONS = 8;
|
|
}
|