* `if`
* `else`
* `elsif`
+* `foreach`
* `group`
+* `limit`
+* `switch`
* `timeout`
* `transaction`
+The `actions` block cannot be used for `redundant`, `redundant-load-balance`, or `load-balance` keywords. Those sections already have default actions to take for the various return codes. Allowing the `actions` block to over-ride those default actions would cause those sections to operate incorrectly.
+
== Priorities
Higher numbers mean higher priorities. An rcode of `fail` with priority `3` will over-ride an rcode of `ok` with priority `1`,
/*
* Over-riding the actions can be done in certain limited
- * situations. In other situations (e.g. "switch",
+ * situations. In other situations (e.g. "redundant",
* "load-balance"), it doesn't make sense.
*
* Note that this limitation also applies to "retry"
case UNLANG_TYPE_IF:
case UNLANG_TYPE_ELSE:
case UNLANG_TYPE_ELSIF:
+ case UNLANG_TYPE_FOREACH:
case UNLANG_TYPE_GROUP:
+ case UNLANG_TYPE_LIMIT:
+ case UNLANG_TYPE_SWITCH:
case UNLANG_TYPE_TIMEOUT:
case UNLANG_TYPE_TRANSACTION:
break;