This reverts commit d3f061dacd.
This commit is contained in:
parent
800131fb9c
commit
bc5360ecce
1 changed files with 9 additions and 0 deletions
|
|
@ -243,3 +243,12 @@ 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue