def outcome.of

ezx@1.11.0.0 · src/doctor/plan.bend:857

import ezx@1.11.0.0/src/doctor/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/plan.bend as P

857# a problem must fail the command, or a script around it learns nothing. The
858# lines already said what the problem is.
859def outcome.of(bad: Bool) -> P.Outcome:
860  match bad:
861    case True{}:
862      P.Refused{""}
863    case False{}:
864      P.Success{}

Uses (2)

Used by (1)