# ResourceNotFoundError

> **Class** in `langsmith`

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

Raised when a resource is not found.

## Signature

```python
ResourceNotFoundError(
    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/687fc8d527a28504432f52bd08c75f2894c209fe/python/langsmith/sandbox/_exceptions.py#L70)