Skip to main content

OnError

Defined in the task module.
Rust AI Agent SDK Error handling behavior

Fields

NameTypeDescription
Stopvariant-
workflowvariant-
onvariant-
errorvariant-
defaultvariantStop workflow on error
StopvariantStop workflow on error
Continuevariant-
tovariant-
nextvariant-
taskvariant-
ContinuevariantContinue to next task
Retryvariant-
thevariant-
taskvariant-
RetryvariantRetry the task

Source

View on GitHub

praisonai/src/task/mod.rs at line 0