From fb3c345a77b4118961c0a13ca6c9dffeb45acb0b Mon Sep 17 00:00:00 2001 From: Mattt Date: Wed, 7 May 2025 03:27:28 -0700 Subject: [PATCH] Revert "Revert "Remove deprecated MCP.Error typealias (#102)" (#104)" This reverts commit bc5360ecce28c9f2a661d9c3c9563b08f1f197c9. --- Sources/MCP/Base/Error.swift | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Sources/MCP/Base/Error.swift b/Sources/MCP/Base/Error.swift index f1d4dcc3..0c461a46 100644 --- a/Sources/MCP/Base/Error.swift +++ b/Sources/MCP/Base/Error.swift @@ -243,12 +243,3 @@ extension MCPError: Hashable { } } } - -// MARK: - - -/// This is provided to allow existing code that uses `MCP.Error` to continue -/// to work without modification. -/// -/// The MCPError type is now the recommended way to handle errors in MCP. -@available(*, deprecated, renamed: "MCPError", message: "Use MCPError instead of MCP.Error") -public typealias Error = MCPError