Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

ResultExt

Defined in the error module.
Rust AI Agent SDK Extension trait for adding context to Results

Methods

context

fn context(self, context: impl Into<String>) -> Result<T>
Add context to an error Parameters:
NameType
contextimpl Into&lt;String&gt;

Source

View on GitHub

praisonai/src/error.rs at line 0