code wiki / _hdl_build / nx_wflow_onerr_gate.nx

nx_wflow_onerr_gate.nx

buildroot/runtime/_hdl_build/nx_wflow_onerr_gate.nx

5877 B116 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic wflow
docsdependenciesstructsconstsfunctions

about

nx_wflow_onerr_gate.nx -- R10 ON-ERROR gate: optional 8th step field = forward on-fail target. On exhausted attempts the failure stays RECORDED (FAILSTEP + ONFAIL), wf_error=yes + wf_error_step land on the variable plane, remaining normal-path steps SKIP (recorded), execution lands at the handler -- which is guarded by an R9 condition (wf_error=yes) so the SUCCESS path skips it naturally. Composition of R8 vars + R9 conds, not a new mechanism. Hard failures (bad subst, denied approval) still hard-stop. ZERO forks. license_tier: ORIGINAL expect_exit: 0

dependencies 2 imports · 0 importers

nx_wflow_engine.nx nx_gate_verdict.nx nx_wflow_onerr_gate.nx

imports: nx_wflow_engine.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

10func eg_n(led: *u8, ridtok: *u8, st: *u8) -> i64
17func main() -> i64