Skip to main content

failure

Method
This is a method of the ToolResult class in the tools module.
Create a failed result

Signature

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

Parameters

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

Returns

Returns
Self
The result of the operation.