From db41238e94a6c2e3f82ab1efb32e8b74e26b34e4 Mon Sep 17 00:00:00 2001 From: Michael J Kaye <1014467+mjkaye@users.noreply.github.com> Date: Mon, 2 Jun 2025 13:07:31 +0000 Subject: [PATCH] Update client.mdx: ClientError namespace `ClientError` is in the `fastmcp.exceptions` namespace, not `fastmcp.client`. --- docs/clients/client.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/clients/client.mdx b/docs/clients/client.mdx index 504993fa4..3c4db65aa 100644 --- a/docs/clients/client.mdx +++ b/docs/clients/client.mdx @@ -345,7 +345,7 @@ For consistent behavior across all transports, we recommend explicitly setting t #### Error Handling -When a `call_tool` request results in an error on the server (e.g., the tool function raised an exception), the `client.call_tool()` method will raise a `fastmcp.client.ClientError`. +When a `call_tool` request results in an error on the server (e.g., the tool function raised an exception), the `client.call_tool()` method will raise a `fastmcp.exceptions.ClientError`. ```python async def safe_call_tool():