> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valkyrie.vals.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Python SDK errors

> Generated exception hierarchy for the public Valkyrie SDK.

Catch `ValkyrieSDKError` to handle every SDK-defined failure, or catch a specific subclass.

| Exception                                           | Parent             |
| --------------------------------------------------- | ------------------ |
| [`ValkyrieAPIError`](#valkyrieapierror)             | `ValkyrieSDKError` |
| [`ValkyrieConfigError`](#valkyrieconfigerror)       | `ValkyrieSDKError` |
| [`ValkyrieRunError`](#valkyrierunerror)             | `ValkyrieSDKError` |
| [`ValkyrieSDKError`](#valkyriesdkerror)             | `Exception`        |
| [`ValkyrieStreamError`](#valkyriestreamerror)       | `ValkyrieSDKError` |
| [`ValkyrieTransportError`](#valkyrietransporterror) | `ValkyrieSDKError` |

## `ValkyrieAPIError`

The Valkyrie API returned a non-success response.

```python theme={null}
ValkyrieAPIError(status_code: int, detail: Any)
```

## `ValkyrieConfigError`

The supplied Valkyrie configuration is missing or invalid.

```python theme={null}
ValkyrieConfigError(*args: object)
```

## `ValkyrieRunError`

A run operation received invalid client-side input.

```python theme={null}
ValkyrieRunError(*args: object)
```

## `ValkyrieSDKError`

Base class for all SDK errors.

```python theme={null}
ValkyrieSDKError(*args: object)
```

## `ValkyrieStreamError`

A run update stream returned an error or invalid event.

```python theme={null}
ValkyrieStreamError(*args: object)
```

## `ValkyrieTransportError`

A request could not reach the Valkyrie service.

```python theme={null}
ValkyrieTransportError(*args: object)
```
