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.

ErrorLog

Defined in the Display Types module.
Rust AI Agent SDK Error log entry

Fields

NameTypeDescription
messageStringError message
error_typeStringError type/category
timestampstd::time::SystemTimeTimestamp
contextHashMap<StringAdditional context

Methods

new

fn new(message: impl Into<String>, error_type: impl Into<String>) -> Self
Create a new error log Parameters:
NameType
messageimpl Into&lt;String&gt;
error_typeimpl Into&lt;String&gt;

with_context

fn with_context(mut self, key: impl Into<String>, value: impl Into<String>) -> Self
Add context Parameters:
NameType
keyimpl Into&lt;String&gt;
valueimpl Into&lt;String&gt;

Source

View on GitHub

praisonai/src/parity/display_types.rs at line 38

Rust Error Handling

Rust Retry

Rust Failover