def why
import ezx@1.11.0.0/src/lock/plan.bend as Planimport Base
755# what a command that ends is said to have ended on: nothing when it
756# succeeded, and the reason when it refused
757def why(outcome: Outcome) -> String:
758 match outcome:
759 case Success{}:
760 ""
761 case Refused{why}:
762 why