failure • Rust AI Agent SDK

failure: Create a failed add result

failure

Method

</div>

This is a method of the AddResult class in the knowledge module.

Create a failed add result

Signature

python
def failure(message: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.