# xspeed/1.1.3/includes/modules/Mcp/Cli_Error_Signal.php

xSpeed Cache: AI-Powered Performance Hub with MCP, Caching &amp; CDN, version 1.1.3. 20 lines.

- Page: https://pluginprobe.com/plugins/xspeed/1.1.3/code/includes/modules/Mcp/Cli_Error_Signal.php
- Raw: https://pluginprobe.com/plugins/xspeed/1.1.3/raw/includes/modules/Mcp/Cli_Error_Signal.php
- Modified: 2026-07-14T10:10:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/xspeed/1.1.3/code/includes/modules/Mcp/Cli_Error_Signal.php#L10-L20`.

```php
<?php
/**
 * Controlled failure signal for the MCP CLI bridge.
 *
 * The \WP_CLI shim's error() throws this instead of halting the request,
 * so Cli_Bridge can catch it and return a structured error result. See
 * Cli_Shim.
 *
 * @package XSpeed
 */

declare(strict_types=1);

namespace XSpeed\Modules\Mcp;

defined( 'ABSPATH' ) || exit;

/** Thrown by the shim's error() so Cli_Bridge can catch a controlled failure. */
final class Cli_Error_Signal extends \RuntimeException {}

```
