Skip to content

Commit d2ad0f2

Browse files
committed
Remove unused mcpserver.exceptions.ValidationError
Never raised in v1 or v2, and it shadows pydantic.ValidationError. No-Verification-Needed: user opted out of review; dead-code deletion
1 parent b61ce38 commit d2ad0f2

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/mcp/server/mcpserver/exceptions.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ class MCPServerError(Exception):
55
"""Base error for MCPServer."""
66

77

8-
class ValidationError(MCPServerError):
9-
"""Error in validating parameters or return values."""
10-
11-
128
class ResourceError(MCPServerError):
139
"""Error in resource operations."""
1410

0 commit comments

Comments
 (0)