diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-09-07 08:28:07 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-09-07 08:28:07 -0400 |
commit | 5545969f485ef2fb944db8e7b0237acbabeb8d4c (patch) | |
tree | ab4a39c6f88b3e8719c9e41dfcd7f147126ef790 /tests/onerror.ur | |
parent | ee175ea1f9151123e47d9cbfee0c6329b2e5d934 (diff) |
Server-side 'onError'
Diffstat (limited to 'tests/onerror.ur')
-rw-r--r-- | tests/onerror.ur | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/onerror.ur b/tests/onerror.ur new file mode 100644 index 00000000..9877d8d7 --- /dev/null +++ b/tests/onerror.ur @@ -0,0 +1,4 @@ +fun main n = + case n of + 0 => error <xml>Zero is bad!</xml> + | _ => return <xml/> |