Michael J Kaye commited on
Commit
d4f468a
·
unverified ·
1 Parent(s): 3642d21

Update client.mdx: ClientError namespace

Browse files

`ClientError` is in the `fastmcp.exceptions` namespace, not `fastmcp.client`.

Files changed (1) hide show
  1. docs/clients/client.mdx +1 -1
docs/clients/client.mdx CHANGED
@@ -345,7 +345,7 @@ For consistent behavior across all transports, we recommend explicitly setting t
345
 
346
  #### Error Handling
347
 
348
- 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`.
349
 
350
  ```python
351
  async def safe_call_tool():
 
345
 
346
  #### Error Handling
347
 
348
+ 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`.
349
 
350
  ```python
351
  async def safe_call_tool():