view tests/sbind.ur @ 1469:a354b306f948

Explain how to signal an error in a commit handler
author Adam Chlipala <adam@chlipala.net>
date Tue, 31 May 2011 09:14:03 -0400
parents 57018f21cd5c
children
line wrap: on
line source
fun main () : transaction page = return <xml><body>
  <p>Before</p>
  <p><dyn signal={s <- return "Bye"; return <xml>{[s]}</xml>}/></p>
  <p>After</p>
</body></xml>