File "Error.php"

Full Path: /home/buyiwexj/public_html/wp-content/plugins/woocommerce/src/Api/Infrastructure/Schema/Error.php
File size: 576 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

declare(strict_types=1);

namespace Automattic\WooCommerce\Api\Infrastructure\Schema;

/**
 * Stable subclass of the underlying GraphQL engine's Error, used by
 * autogenerated resolvers when they need to surface a GraphQL-spec error
 * directly (e.g. the UNAUTHORIZED error an autogenerated authorize()-backed
 * resolver throws before invoking the command).
 *
 * Behaviour is inherited verbatim, including the named `extensions`
 * argument that callers rely on to attach an error code.
 */
class Error extends \Automattic\WooCommerce\Vendor\GraphQL\Error\Error {
}