# 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/19dc497a3d89638e4cc35db72ea1c29cad35cbbf/python/langsmith/sandbox/_exceptions.py#L70)