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.

failure

Method
This is a method of the StepResult class in the workflows module.
Create a failed step result

Signature

def failure(agent: impl Into<String>, error: impl Into<String>) -> Self

Parameters

agent
impl Into<String>
required
No description available.
error
impl Into<String>
required
No description available.

Returns

Returns
Self
The result of the operation.