<?php

declare(strict_types=1);

namespace Automattic\WooCommerce\Internal\Api\Schema;

/**
 * Stable subclass of the webonyx 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.
 *
 * @internal Reserved for autogenerated resolver code.
 */
class Error extends \Automattic\WooCommerce\Vendor\GraphQL\Error\Error {
}
