view tests/jserror.ur @ 1110:7fc4e0087e50

Proper 404 generation
author Adam Chlipala <adamc@hcoop.net>
date Sat, 02 Jan 2010 13:31:59 -0500
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>