From 2542a3ee8098b1f42ebb2b9c862bddaf327e8675 Mon Sep 17 00:00:00 2001 From: Joseph Bryan Date: Tue, 20 Jun 2017 11:59:50 -0400 Subject: [PATCH] adds error message to +ticket --- gen/ticket.hoon | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen/ticket.hoon b/gen/ticket.hoon index da86fc6c4..cba4ceab8 100644 --- a/gen/ticket.hoon +++ b/gen/ticket.hoon @@ -5,10 +5,12 @@ /? 310 :: :::: - !: + !. :- %say |= $: {now/@da eny/@uvJ bec/beak} {{her/@p $~} $~} == :- %noun +~_ leaf+"can't ticket {} (not a child of {})" +?> =(p.bec (sein her)) .^(@p /a/(scot %p p.bec)/tick/(scot %da now)/(scot %p her))