Spaces:
Running
Running
Michael J Kaye commited on
Update client.mdx: ClientError namespace
Browse files`ClientError` is in the `fastmcp.exceptions` namespace, not `fastmcp.client`.
- 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.
|
| 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():
|