Plan.status: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/lock/plan.bend as Plan Lines 740-749 of ezx@1.11.0.0/src/lock/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/lock/plan.bend&start_line=740&end_line=749 import Base # the status a command exits with (EZ-OUT-1): 0 when it succeeds, 1 when it # refuses. Every planner's plan ends with an Outcome, and the interpreter # exits with this status of it (`Run.end`), so this is the one place the # mapping lives. def status(outcome: Outcome) -> U32: match outcome: case Success{}: 0 case Refused{_why}: 1 Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/plan.bend&name=Outcome