view tests/jserror.ur @ 1580:ec466c1e082a

Catch UnboundNamed exceptions that arise from missing signature items
author Adam Chlipala <adam@chlipala.net>
date Fri, 21 Oct 2011 08:51:30 -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>