block, rescue and always

A structure that groups tasks in a block, runs the rescue tasks if one of them fails, and runs the always tasks either way.

In more detail

The block holds the ordinary work and can share one condition or privilege setting. rescue responds to a failure with recovery tasks; always handles cleanup or reporting that must happen in every outcome. A rescued failure lets the play continue and is counted as rescued in the recap, so decide deliberately whether continuing is safe and never let rescue hide a serious failure.

Related terms

Taught in

References

Certification courses