Deprecate McpErrorCode.ResourceNotFound (-32002) and use McpErrorCode.InvalidParams (-32602) per SEP-2164 (#1558)
This commit is contained in:
parent
712a06b83a
commit
b99d887b46
1 changed files with 77 additions and 15 deletions
|
|
@ -1033,7 +1033,7 @@ public class McpServerTests : LoggedTest
|
|||
public async Task Can_Handle_Call_Tool_Requests_With_McpProtocolException_And_Data()
|
||||
{
|
||||
const string ErrorMessage = "Resource not found";
|
||||
const McpErrorCode ErrorCode = McpErrorCode.ResourceNotFound;
|
||||
const McpErrorCode ErrorCode = McpErrorCode.InvalidParams;
|
||||
const string ResourceUri = "file:///path/to/resource";
|
||||
|
||||
await using var transport = new TestServerTransport();
|
||||
|
|
|
|||
Loading…
Reference in a new issue