Agent Error • Rust AI Agent SDK

agent_error: Create agent error event

agent_error

Method

</div>

This is a method of the Event class in the bus module.

Create agent error event

Diagram

Input Data

Agent: agent_error

Output Result

Signature

python
def agent_error(agent_name: impl Into<String>, error: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation