Skip to content

Commit 808dbc4

Browse files
committed
Add missing ConfigurationException
1 parent 4fef07d commit 808dbc4

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
/*
4+
* This file is part of the official PHP MCP SDK.
5+
*
6+
* A collaboration between Symfony and the PHP Foundation.
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
namespace Mcp\Exception;
13+
14+
/**
15+
* @author Oskar Stark <[email protected]>
16+
*/
17+
class ConfigurationException extends InvalidArgumentException
18+
{
19+
}

src/Server/ServerBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
use Mcp\Capability\Registry;
2222
use Mcp\Capability\Registry\Container;
2323
use Mcp\Capability\Registry\ReferenceHandler;
24+
use Mcp\Exception\ConfigurationException;
2425
use Mcp\JsonRpc\Handler;
2526
use Mcp\Schema\Annotations;
2627
use Mcp\Schema\Implementation;

0 commit comments

Comments
 (0)