You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to snap_fr...@googlegroups.com
Hi, I am using auth snaplet, where shall I catch the duplicateLogin exception or any other exception. I don't want to let the app respond with a "web handler exception" text. I read the Control.Exception docs, and find that `catch` can only be used in IO monad. How can I `catch` in MandSnap?
Thanks
MightyByte
unread,
Mar 20, 2012, 8:06:53 AM3/20/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to snap_fr...@googlegroups.com
If you look at the documentation for the Handler monad, you'll see that it is an instance of MonadCatchIO.