Build a "resource not found" error whose code is selected for the negotiated protocol version: draft aligns it to invalidParams (-32602), while earlier versions use the MCP-specific -32002 (see versions.resourceNotFoundCode).
Build a "resource not found" error whose code is selected for the negotiated protocol version: draft aligns it to invalidParams (-32602), while earlier versions use the MCP-specific -32002 (see versions.resourceNotFoundCode).