Skip to content

πŸš€ The fast, Pythonic way to build MCP servers and clients.

Update client.mdx: ClientError namespace

Michael J Kayedb41238e94a6
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():