• File: Error.php
  • Full Path: /home/slvgwrnz/public_html/wp-admin/wp-includes/wp-content/plugins/woocommerce/src/Api/Infrastructure/Schema/Error.php
  • Date Modified: 09/22/2026 11:40 AM
  • 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 {
}