# CommandTimeoutError

> **Class** in `langsmith`

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

Raised when a command exceeds its timeout.

## Signature

```python
CommandTimeoutError(
    self,
    message: str,
    timeout: Optional[int] = None,
)
```

## Extends

- `SandboxOperationError`

## Constructors

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

| Name | Type |
|------|------|
| `message` | `str` |
| `timeout` | `Optional[int]` |


## Properties

- `timeout`

---

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