---
sidebar_label: session
title: opendevin.server.session.session
---

## Session Objects

```python
class Session()
```

#### send\_error

```python
async def send_error(message: str) -> bool
```

Sends an error message to the client.

#### send\_message

```python
async def send_message(message: str) -> bool
```

Sends a message to the client.

