Error
Raise an explicit error to stop the workflow.
Fail the workflow with a descriptive message. Combine with if conditions to enforce
preconditions or budget guards — for example, abort if an estimated AI cost exceeds
a threshold.
Components
| Component | Description |
|---|---|
error | Immediately fails the workflow step with a configurable error message |
How is this guide?