fail • Rust AI Agent SDK

fail: Mark as failed.

fail

Method

</div>

This is a method of the SandboxResult class in the sandbox module.

Mark as failed.

Signature

python
def fail(&mut self, error: impl Into<String>) -> ()

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField ()

The result of the operation.