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

# Praison AI Error • AI Agent SDK

> PraisonAIError: Base error class with structured context for PraisonAI SDK.

# PraisonAIError

> Defined in the [**errors**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/errors.md) module.

AI Agent

Base error class with structured context for PraisonAI SDK.

All PraisonAI errors inherit from this to ensure uniform error handling,
context propagation, and observability hooks.

## Constructor

**message** `str` *required*

No description available.

**agent\_id** `str` (default: 'unknown')

No description available.

**run\_id** `Optional[str]`

No description available.

**error\_category** `Optional[AgentErrorKind]`

No description available.

**is\_retryable** `bool` (default: False)

No description available.

**context** `Optional`

No description available.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/errors.py#L79)
>
> `praisonaiagents/errors.py` at line 79


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.