# handle_client_http_error

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_helpers/handle_client_http_error)

Handle HTTP errors and raise appropriate exceptions (for client operations).

## Signature

```python
handle_client_http_error(
    error: httpx.HTTPStatusError,
) -> None
```

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/19be2e470924dde3ca8ac91cc46931d7f899d221/python/langsmith/sandbox/_helpers.py#L268)