Skip to main content

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.