Remove deprecated MCP.Error typealias (#102)

This commit is contained in:
Mattt 2025-05-06 11:23:04 -07:00 • committed by GitHub
commit d3f061dacd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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