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

# Handoff Error • Rust AI Agent SDK

> HandoffError: Base error type for handoff operations

# HandoffError

> Defined in the [**extras**](../modules/extras) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

Base error type for handoff operations

## Fields

| Name       | Type      | Description                     |
| ---------- | --------- | ------------------------------- |
| `Cycle`    | `variant` | -                               |
| `detected` | `variant` | -                               |
| `in`       | `variant` | -                               |
| `handoff`  | `variant` | -                               |
| `chain`    | `variant` | -                               |
| `error`    | `variant` | Cycle detected in handoff chain |
| `Handoff`  | `variant` | Cycle detected in handoff chain |
| `cycle`    | `variant` | Cycle detected in handoff chain |
| `detected` | `variant` | Cycle detected in handoff chain |
| `agents`   | `variant` | Cycle detected in handoff chain |

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/parity/extras.rs">
  `praisonai/src/parity/extras.rs` at line 0
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Handoffs" icon="arrow-right-arrow-left" href="/docs/rust/handoffs" />

  <Card title="Rust A2A" icon="arrows-left-right" href="/docs/rust/a2a" />

  <Card title="Rust Error Handling" icon="triangle-exclamation" href="/docs/rust/error-handling" />

  <Card title="Rust Retry" icon="rotate-right" href="/docs/rust/retry" />

  <Card title="Rust Failover" icon="shield" href="/docs/rust/failover" />
</CardGroup>
