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.

on_error

Method
This is a method of the HookRunner class in the hooks module.
Run on-error hooks

Signature

def on_error(&self, session_id: &str, error: &str) -> Result<HookResult>

Parameters

session_id
&str
required
No description available.
error
&str
required
No description available.

Returns

Returns
Result<HookResult>
The result of the operation.

Rust Error Handling

Rust Retry

Rust Failover