Skip to content

Clean up (use of) McpException and McpTransportException#321

Merged
halter73 merged 3 commits intomodelcontextprotocol:mainfrom
stephentoub:cleanupexceptions
Apr 18, 2025
Merged

Clean up (use of) McpException and McpTransportException#321
halter73 merged 3 commits intomodelcontextprotocol:mainfrom
stephentoub:cleanupexceptions

Conversation

@stephentoub
Copy link
Copy Markdown
Contributor

Delete McpTransportException and replace most uses with InvalidOperationException.

Make McpException only for surfacing MCP protocol-level failures.

@stephentoub stephentoub requested a review from halter73 April 16, 2025 22:07
@halter73 halter73 merged commit 7d77be6 into modelcontextprotocol:main Apr 18, 2025
13 of 14 checks passed
@stephentoub stephentoub deleted the cleanupexceptions branch November 14, 2025 19:00
@jeffhandley jeffhandley added the breaking-change This issue or PR introduces a breaking change label Feb 20, 2026
@jeffhandley
Copy link
Copy Markdown
Contributor

Adding the breaking-change label retroactively during release notes revision.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change This issue or PR introduces a breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants