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
UserError.php
15 lines
| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | namespace Automattic\WooCommerce\Vendor\GraphQL\Error; |
| 4 | |
| 5 | /** |
| 6 | * Caused by Automattic\WooCommerce\Vendor\GraphQL clients and can safely be displayed. |
| 7 | */ |
| 8 | class UserError extends \RuntimeException implements ClientAware |
| 9 | { |
| 10 | public function isClientSafe(): bool |
| 11 | { |
| 12 | return true; |
| 13 | } |
| 14 | } |
| 15 |