[web-devel] Yesod. Handle Exception.

Антон Чешков acheshkov at gmail.com
Tue Jan 25 19:13:21 CET 2011


Hello Michael. Please explain how to handle exceptions in Yesod
applications.
For example i would to catch the error generated by unique constraint on
table.

*runDB $ insert $ Table field1 field2 *


Thanks.
-- 
Best regards,
Cheshkov Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110125/f7cbe7b1/attachment.htm>


More information about the web-devel mailing list