CustomScalarType.php
4 weeks ago
EnumType.php
4 weeks ago
Error.php
4 weeks ago
InputObjectType.php
4 weeks ago
InterfaceType.php
4 weeks ago
ObjectType.php
4 weeks ago
Schema.php
4 weeks ago
Type.php
4 weeks ago
aliases.php
4 weeks ago
Error.php
18 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Automattic\WooCommerce\Api\Infrastructure\Schema; |
| 6 | |
| 7 | /** |
| 8 | * Stable subclass of the underlying GraphQL engine's Error, used by |
| 9 | * autogenerated resolvers when they need to surface a GraphQL-spec error |
| 10 | * directly (e.g. the UNAUTHORIZED error an autogenerated authorize()-backed |
| 11 | * resolver throws before invoking the command). |
| 12 | * |
| 13 | * Behaviour is inherited verbatim, including the named `extensions` |
| 14 | * argument that callers rely on to attach an error code. |
| 15 | */ |
| 16 | class Error extends \Automattic\WooCommerce\Vendor\GraphQL\Error\Error { |
| 17 | } |
| 18 |