• File: SchemaException.php
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/elementor/vendor/wordpress/php-mcp-schema/src/Exception/SchemaException.php
  • Date Modified: 11/05/2026 9:17 AM
  • File size: 382 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

declare(strict_types=1);

namespace WP\McpSchema\Exception;

/**
 * Base class for every failure raised by the schema runtime.
 *
 * Extends `\InvalidArgumentException` so that consumers, including the official
 * MCP PHP SDK, can map rejected input to a JSON-RPC invalid params error with
 * one catch clause.
 */
class SchemaException extends \InvalidArgumentException
{
}