Skip to content

Commit 33130b6

Browse files
authored
Revert "Revert "Remove deprecated MCP.Error typealias (#102)" (#104)"
This reverts commit bc5360e.
1 parent 3690509 commit 33130b6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Sources/MCP/Base/Error.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,3 @@ extension MCPError: Hashable {
243243
}
244244
}
245245
}
246-
247-
// MARK: -
248-
249-
/// This is provided to allow existing code that uses `MCP.Error` to continue
250-
/// to work without modification.
251-
///
252-
/// The MCPError type is now the recommended way to handle errors in MCP.
253-
@available(*, deprecated, renamed: "MCPError", message: "Use MCPError instead of MCP.Error")
254-
public typealias Error = MCPError

0 commit comments

Comments
 (0)