view tests/aborter.ur @ 1860:d54984564bcd

Make that error message even more helpful
author Adam Chlipala <adam@chlipala.net>
date Wed, 17 Jul 2013 10:48:31 -0400
parents b10132434adc
children
line wrap: on
line source
table t : {A : int}

fun main () : transaction page =
    () <- dml (INSERT INTO t (A) VALUES (0));
    return (error <xml>No way, Jose!</xml>)