Skip to content

Commit d3f061d

Browse files
authored
Remove deprecated MCP.Error typealias (#102)
1 parent 305cf7e commit d3f061d

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)