PluginProbe
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN / 1.2.4
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN v1.2.4
1.3.3 1.3.2 1.3.1 1.3.0 1.2.4 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 All 29 releases
xspeed / includes / modules / Mcp / Cli_Error_Signal.php

Cli_Error_Signal.php in xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN 1.2.4, at includes/modules/Mcp/Cli_Error_Signal.php

20 lines 480 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Controlled failure signal for the MCP CLI bridge.
4 *
5 * The \WP_CLI shim's error() throws this instead of halting the request,
6 * so Cli_Bridge can catch it and return a structured error result. See
7 * Cli_Shim.
8 *
9 * @package XSpeed
10 */
11
12 declare(strict_types=1);
13
14 namespace XSpeed\Modules\Mcp;
15
16 defined( 'ABSPATH' ) || exit;
17
18 /** Thrown by the shim's error() so Cli_Bridge can catch a controlled failure. */
19 final class Cli_Error_Signal extends \RuntimeException {}
20