ClientAware.php
2 months ago
CoercionError.php
2 months ago
DebugFlag.php
2 months ago
Error.php
2 months ago
FormattedError.php
2 months ago
InvariantViolation.php
2 months ago
ProvidesExtensions.php
2 months ago
SerializationError.php
2 months ago
SyntaxError.php
2 months ago
UserError.php
2 months ago
Warning.php
2 months ago
DebugFlag.php
16 lines
| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | namespace Automattic\WooCommerce\Vendor\GraphQL\Error; |
| 4 | |
| 5 | /** |
| 6 | * Collection of flags for [error debugging](error-handling.md#debugging-tools). |
| 7 | */ |
| 8 | final class DebugFlag |
| 9 | { |
| 10 | public const NONE = 0; |
| 11 | public const INCLUDE_DEBUG_MESSAGE = 1; |
| 12 | public const INCLUDE_TRACE = 2; |
| 13 | public const RETHROW_INTERNAL_EXCEPTIONS = 4; |
| 14 | public const RETHROW_UNSAFE_EXCEPTIONS = 8; |
| 15 | } |
| 16 |