summaryrefslogtreecommitdiff
path: root/lib/ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-16 12:36:01 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-16 12:36:01 -0400
commit237c9393b135b40e07f97b00699fd6cf9b48dac4 (patch)
treee5b913873d3ffcd5abcc024dbc7d74e8d1c2aad2 /lib/ur
parent9ac7c1a3cfcd247d5f6313b0e122049ec0b98fe5 (diff)
onError
Diffstat (limited to 'lib/ur')
-rw-r--r--lib/ur/basis.urs5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index cfb80850..2633d48e 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -550,6 +550,7 @@ val td : other ::: {Unit} -> [other ~ [Body, Tr]] =>
(** Aborting *)
-val error : t ::: Type -> xml [Body] [] [] -> t
-
+val error : t ::: Type -> xbody -> t
+val onError : (xbody -> transaction unit) -> transaction unit
+(* Client-side only *)