← Back to Patterns
named-steps
Demonstrates mixing numbered and named steps with GOTO error handling
named
Source
# Named Steps Example
## 1. Main runbook
- FAIL: GOTO ErrorHandler
- PASS: COMPLETE SUCCESS
Do the main work
## ErrorHandler
- PASS: STOP RECOVERED
- FAIL: STOP "Unrecoverable error"
Handle any errors that occur
Try It
Main runbook passes, completes successfully
Initializing...
Initializing...
Step—/—
ExpectedCOMPLETE
Env idle