fix: standardize resource not found error code#1037
Conversation
|
This is incorrect, now EVERY Additionally, this is a breaking change, unsure whether we will merge this before we create a 3.x branch. |
|
Thanks, you’re right. change is too broad because it changes every I prepared a narrower local fix: keep Would you prefer that update now, or should this wait for 3.x / protocol-versioned behavior? |
|
Please apply it. I'll assign the original issue to you. Could you please comment on #1001 so I can assign you? For when exactly we ship it, I'll keep you posted. Assigning to 3.x until we decide what to do. |
Summary
McpError.RESOURCE_NOT_FOUNDwith SEP-2164 by using JSON-RPCINVALID_PARAMS(-32602).Test plan
./mvnw -pl mcp-core -Dtest=McpErrorTest test./mvnw -pl mcp-core test./mvnw -pl mcp-core spring-javaformat:validategit diff --checkCloses #1001