PHP 8.2.31
Preview: ClientAware.php Size: 598 B
//home/nshryvcy/radiantskinclinics.org/wp-content/plugins/woocommerce/lib/packages/GraphQL/Error/ClientAware.php

<?php declare(strict_types=1);

namespace Automattic\WooCommerce\Vendor\GraphQL\Error;

/**
 * Implementing ClientAware allows graphql-php to decide if this error is safe to be shown to clients.
 *
 * Only errors that both implement this interface and return true from `isClientSafe()`
 * will retain their original error message during formatting.
 *
 * All other errors will have their message replaced with "Internal server error".
 */
interface ClientAware
{
    /**
     * Is it safe to show the error message to clients?
     *
     * @api
     */
    public function isClientSafe(): bool;
}

Directory Contents

Dirs: 0 × Files: 11

Name Size Perms Modified Actions
598 B lrw-r--r-- 2026-05-05 14:26:50
Edit Download
1.32 KB lrw-r--r-- 2026-05-05 14:26:50
Edit Download
408 B lrw-r--r-- 2026-05-05 14:26:50
Edit Download
9.75 KB lrw-r--r-- 2026-05-05 14:26:50
Edit Download
11.32 KB lrw-r--r-- 2026-05-05 14:26:50
Edit Download
286 B lrw-r--r-- 2026-05-05 14:26:50
Edit Download
400 B lrw-r--r-- 2026-05-05 14:26:50
Edit Download
319 B lrw-r--r-- 2026-05-05 14:26:50
Edit Download
427 B lrw-r--r-- 2026-05-05 14:26:50
Edit Download
327 B lrw-r--r-- 2026-05-05 14:26:50
Edit Download
4.05 KB lrw-r--r-- 2026-05-05 14:26:50
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).