Skip to main content
Language reference / on_error

Meaning and placement

task

The schema declares this field at the location below. In the same object: after Β· agent Β· exec Β· extract Β· for_each Β· group Β· infer Β· invoke Β· lift Β· retry Β· returns Β· timeout Β· when Β· with Schema source (use the pointer above)

In a source template

Excerpt from templates/api-upload-and-create.nika.yaml, source lines 80–89. This is a fragment, not a runnable workflow.
illustration

Templates containing this field

These are literal key occurrences in the source files, not an execution or conformance claim. How to instantiate a template.

Contract and implementation

This page projects the named specification revision. Check released engine status and the validation workflow before running a file. An optional field is not evidence that every engine supports every value. Canonical identity: language:word:on_error. Spec revision: c5ebbb7b862b. How documentation stays connected.