def exit_code

cswap-bend-cli@0.1.0.0 · policy/types.bend:196

import cswap-bend-cli@0.1.0.0/policy/types.bend as Types
import Base

196def exit_code(+d: Decision) -> U32:
197  match d:
198    case NoSwitch{r, detail}:
199      reason.exit(r)
200    case Switch{to, t, why, h, mode, rec, bar}:
201      0

Uses (3)

Used by (0)

No other definition uses this definition.