[Haskell-cafe] Error management in Happstack
jeremy at n-heptane.com
Thu Jan 16 03:37:51 UTC 2014
Happstack uses monad-control. You can use catch from lifted-base to
catch the exception. I have attached a simple demo.
You can learn more about monad-control many places including here:
On Mon, Jan 13, 2014 at 3:50 PM, Corentin Dupont
<corentin.dupont at gmail.com> wrote:
> Hi Jeremy, all,
> In Happstack when I throw an error, I obtain a blank page with "server
> error: my message".
> How can I decorate this page?
> I'd like to have it look like the other pages of my website, and a "back to
> login" link, for example.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 437 bytes
Desc: not available
More information about the Haskell-Cafe