On Error • Rust AI Agent SDK
on_error: Set error handling
on_error
Method
</div>
This is a method of the TaskBuilder class in the task module.
Set error handling
Signature
def on_error(mut self, behavior: OnError) -> SelfParameters
ParamField
OnErrorNo description available.
Returns
ResponseField
SelfThe result of the operation.