Set Error • Rust AI Agent SDK
set_error: Mark as error.
set_error
Method
</div>
Mark as error.
Signature
def set_error(&mut self, message: impl Into<String>) -> ()Parameters
ParamField
impl Into<String>No description available.
Returns
ResponseField
()The result of the operation.