From a85a359015e57d4679312ac95e1a31f3a86e5463 Mon Sep 17 00:00:00 2001 From: Mattt Zmuda Date: Tue, 6 May 2025 10:57:28 -0700 Subject: [PATCH] Remove deprecated MCP.Error typealias --- 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