github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/tools/flow/testdata/failure.txtar (about)

     1  -- in.cue --
     2  root: {
     3  	a: {
     4  		$id: "failure"
     5  		val: "foo"
     6  		out: string
     7  	}
     8  	b: {
     9  		$id:    "valToOut"
    10  		$after: a
    11  		val:    "bar"
    12  		out:    string
    13  	}
    14  }
    15  -- out/run/errors --
    16  error: task failed: failure
    17  -- out/run/t0 --
    18  graph TD
    19    t0("root.a [Ready]")
    20    t1("root.b [Waiting]")
    21    t1-->t0
    22