Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/Mcp/Exceptions/FieldFormatException.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

declare(strict_types=1);

namespace Cboxdk\StatamicMcp\Mcp\Exceptions;

use InvalidArgumentException;

/**
* Thrown when MCP-supplied field data does not match the expected wire format.
*
* Messages from this class are considered safe for direct exposure to clients
* because the content is curated by this addon (field paths, expected shape).
* The base BaseStatamicTool error handler allow-lists this class so messages
* survive the production sanitization step.
*/
class FieldFormatException extends InvalidArgumentException {}
Loading
Loading