# ResourceCreationError

> **Class** in `langsmith`

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

Raised when resource provisioning fails.

## Signature

```python
ResourceCreationError(
    self,
    message: str,
    resource_type: Optional[str] = None,
    error_type: Optional[str] = None,
)
```

## Extends

- `SandboxClientError`

## Constructors

```python
__init__(
    self,
    message: str,
    resource_type: Optional[str] = None,
    error_type: Optional[str] = None,
)
```

| Name | Type |
|------|------|
| `message` | `str` |
| `resource_type` | `Optional[str]` |
| `error_type` | `Optional[str]` |


## Properties

- `resource_type`
- `error_type`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/fcda9320ff067c3d3857e9e3d088fc1eb0643fc4/python/langsmith/sandbox/_exceptions.py#L203)