---
title: LiumTransferInterruptedError
sidebar_label: LiumTransferInterruptedError
sidebar_position: 14
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lium.io/llms.txt
> Use this file to discover all available pages before exploring further.
>
> Lium (lium.io) is a GPU rental marketplace: rent NVIDIA GPUs by the hour, billed per second.

<!-- Generated by scripts/generate_sdk_reference.py. Do not edit directly. -->

# LiumTransferInterruptedError

```python
from lium.sdk import LiumTransferInterruptedError
```

Defined in `lium.sdk.exceptions`.

Ctrl-C ended [`transfer_credits()`](/developers/sdk/reference/client/lium#transfer_credits) after its POST: the transfer may have happened.

```python
LiumTransferInterruptedError(message: str, *, idempotency_key: str, hint: str)
```

## Catching it

`LiumTransferInterruptedError` subclasses `KeyboardInterrupt`, so a handler for any of those also catches it.

```python
from lium.sdk import LiumTransferInterruptedError

try:
    ...  # any SDK call
except LiumTransferInterruptedError as e:
    print(e, e.hint)
```

| Field | Meaning |
| --- | --- |
| `hint` | what to try next, when the API suggested something |

## Attributes

| Name | Type | Description |
| --- | --- | --- |
| <a id="code"></a>`code` |  |  |
| <a id="idempotency_key"></a>`idempotency_key` |  |  |
| <a id="hint"></a>`hint` |  |  |
| <a id="request_id"></a>`request_id` |  |  |
