> ## 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.

# error • Rust AI Agent SDK

> Error types for PraisonAI Core

# error

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

Error types for PraisonAI Core

This module defines the error types used throughout the crate.

## Import

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
use praisonai::error::*;
```

## Classes

<CardGroup cols={2}>
  <Card title="ResultExt" icon="brackets-curly" href="../classes/ResultExt">
    Extension trait for adding context to Results
  </Card>

  <Card title="Error" icon="brackets-curly" href="../classes/Error">
    Main error type for PraisonAI Core
  </Card>
</CardGroup>

***

## Related Documentation

<CardGroup cols={2}>
  <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>
