error • Rust AI Agent SDK
error: Set error
error
Method
</div>
This is a method of the StreamEvent class in the streaming module.
Set error
Signature
def error(mut self, error: impl Into<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.