From 7c58239ff640ce9e49504f696d0b085b158b2cfb Mon Sep 17 00:00:00 2001 From: Mattt Date: Sun, 10 Aug 2025 05:59:35 -0700 Subject: [PATCH] Revert "Revert "Remove deprecated MCP.Error typealias (#102)" (#104)" (#105) 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 f1d4dcc..0c461a4 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