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.

set_failed

Method
This is a method of the Task class in the task module.
Set task as failed

Signature

def set_failed(&mut self, error: &str) -> ()

Parameters

error
&str
required
No description available.

Returns

Returns
()
The result of the operation.