# handle_volume_creation_error

> **Function** in `langsmith`

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

Handle HTTP errors specific to volume creation.

Maps API error responses to specific exception types:
- 503: ResourceCreationError (provisioning failed)
- 504: ResourceTimeoutError (volume didn't become ready in time)
- Other: Falls through to generic error handling

## Signature

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

---

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