Error Event • Rust AI Agent SDK
error_event: Create an error event
error_event
Method
</div>
This is a method of the StreamEvent class in the streaming module.
Create an error event
Signature
def error_event(message: impl Into<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.