Mercurial > urweb
view tests/jserror.ur @ 2001:16f5f136a807
uw_register_transactional() can return error codes
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 17 Apr 2014 17:41:24 -0400 |
parents | ba4c230b7231 |
children |
line wrap: on
line source
fun main () : transaction page = return <xml> <body onload={onError (fn s => alert ("There was an error: " ^ show s)); error <xml>Badder</xml>}/> </xml>