---
sidebar:
  label: roboto.action_runtime.exceptions
  order: 1
title: roboto.action_runtime.exceptions
---
## Module Contents

### ActionRuntimeException

```python
exception roboto.action_runtime.exceptions.ActionRuntimeException
```

`from roboto.action_runtime import ActionRuntimeException`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/action_runtime/exceptions.py#L10-L13)

Bases: `Exception`

Base class for all exceptions raised by the action_runtime submodule.

### PrepareEnvException

```python
exception roboto.action_runtime.exceptions.PrepareEnvException(
    exit_code: roboto.action_runtime.exit_codes.ExitCode,
    reason: str,
)
```

`from roboto.action_runtime import PrepareEnvException`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/action_runtime/exceptions.py#L16-L26)

Bases: [`ActionRuntimeException`](/reference/python-sdk/roboto/action_runtime/exceptions#roboto.action_runtime.exceptions.ActionRuntimeException)

Base class for all exceptions raised by the action_runtime submodule.

**Parameters**

- **exit_code** (`roboto.action_runtime.exit_codes.ExitCode`)
- **reason** (`str`)

**Attributes**

- **PrepareEnvException.exit_code** (`roboto.action_runtime.exit_codes.ExitCode`)
- **PrepareEnvException.reason** (`str`)
