OnError
Defined in the task module.Rust AI Agent SDK Error handling behavior
Fields
| Name | Type | Description |
|---|---|---|
Stop | variant | - |
workflow | variant | - |
on | variant | - |
error | variant | - |
default | variant | Stop workflow on error |
Stop | variant | Stop workflow on error |
Continue | variant | - |
to | variant | - |
next | variant | - |
task | variant | - |
Continue | variant | Continue to next task |
Retry | variant | - |
the | variant | - |
task | variant | - |
Retry | variant | Retry the task |
Source
View on GitHub
praisonai/src/task/mod.rs at line 0
