# ResourceAlreadyExistsError

> **Class** in `langsmith`

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

Raised when creating a resource that already exists.

## Signature

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

## Extends

- `SandboxClientError`

## Constructors

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

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


## Properties

- `resource_type`

---

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