Preview: Error.php
Size: 607 B
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/woocommerce/src/Internal/Api/Schema/Error.php
<?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 {
}
Directory Contents
Dirs: 0 × Files: 9